Git Product home page Git Product logo

Comments (4)

hughsie avatar hughsie commented on July 22, 2024

Hmm, could you do me a dummy example I can put in the self tests? I don't have any windows boxes available when I'm not home. I've got a fix, but want to check it works before I push. Thanks.

from appstream-glib.

superm1 avatar superm1 commented on July 22, 2024

Sure, here's some dummy content put in and built with the directive that way.

Build content
https://dell.box.com/s/zosc3okgre3ekr3slqqnwfzo5on8bgxe

Directive

.OPTION EXPLICIT

.Set CabinetNameTemplate=nested_directory.cab 

.Set Cabinet=on
.Set Compress=on
.Set MaxDiskSize=0
.set DiskDirectoryTemplate=Bios
.set DestinationDir=DriverPackage
"firmware.bin"
"firmware.inf"
"firmware.metainfo.xml"

from appstream-glib.

hughsie avatar hughsie commented on July 22, 2024

Hi, your cab file didn't validate due to a typo, but it got far enough to prove it works:

/home/hughsie/Downloads/nested_directory.cab: (lt-appstream-util:24094): As-DEBUG: run AsStore:store-from-file
(lt-appstream-util:24094): As-DEBUG: found file 0   DriverPackage/firmware.bin
(lt-appstream-util:24094): As-DEBUG: found file 1   DriverPackage/firmware.inf
(lt-appstream-util:24094): As-DEBUG: found file 2   DriverPackage/firmware.metainfo.xml
no metainfo file with provide e0f614ed-fb82-467a-a34e-71172cc07e4d

from appstream-glib.

superm1 avatar superm1 commented on July 22, 2024

Yep it was a quick copy and paste hack job to make a dummy from a real, so sorry on the typo. Feel free to adapt as needed further.

from appstream-glib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.