Provide example to remove documentation and produce smallest possible image #38
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I use
mmdebstrapto produce a rootfs for an embedded system. We need the smallest possible size with the selected packages.The
README.mdstates:Is there any documentation to show an example of removing documentaiton?
Could some a simple example be added to the
README.mdplease.If I have 100 packages listed, can this be done with one setting to apply to all packages or is it specified for each package (somehow)?
Examples of any other options (if any) to produce images with the smallest possible size would be greatly appreciated. i.e. only the necessary files for the installed packages to run.
Did you read the man page and searched for examples involving the
--path-excludeoption?No, I didn't think about the man page. I see it now and the examples :)
Thanks, that provides enough info to get me going.
I didn't see any obvious documentation files in the repo (no
docdirectory or the like). It wasn't obvious to me by browsing the repo files that themmdebstrapfile was a perl script with inbuilt documentation.The
README.mdsuggests runningpod2man, which is fine if you have source code checked out, but I am just browsing the repo and taking theREADME.mdas my guide.Maybe add a comment in the
README.mdto view the man page (if installed on the host system) or usepod2manif want to build from the source.Personally, some other, more friendly, documentation format would be better rather than embedded in script files. e.g.
manual.mdthat is obvious and easily browsable.Anyways, thanks for the awesome tool and response.
You mean like this? https://gitlab.mister-muffin.de/josch/mmdebstrap/wiki/Home
Perfect !!
Suggest a reference in the
README.mde.g.
This should fix this issue:
ebf7a67e37Works for me :)