oasislinux / oasis

a small statically-linked linux system
Other
2.75k stars 84 forks source link

Can I install individual packages? #106

Closed xplshn closed 2 months ago

xplshn commented 2 months ago

How?

michaelforney commented 2 months ago

Can you clarify your question? I don't really understand what you mean.

xplshn commented 2 months ago

How can I install a specific package without installing a set? Like for example, the man pages

michaelforney commented 2 months ago

Here's the documentation:

                -- Each entry contains a list of packages, a list of patterns
                -- matching files to include from those packages, and a list of
                -- patterns matching files to exclude. If no patterns are
                -- specified, all files from the package are included.
        {sets.core, exclude={'^include/', '^lib/.*%.a$'}},

Sets are literally just convenient lists of packages (see sets.lua). To add man-pages-posix, add it to the list:

{sets.core, 'man-pages-posix', exclude={'^include/', '^lib/.*%.a$'}},
xplshn commented 2 months ago

Thanks for the explanation, I couldn't understand the comment which explained it