Provide example to remove documentation and produce smallest possible image #38
Loading…
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
mmdebstrap
to produce a rootfs for an embedded system. We need the smallest possible size with the selected packages.The
README.md
states:Is there any documentation to show an example of removing documentaiton?
Could some a simple example be added to the
README.md
please.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-exclude
option?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
doc
directory or the like). It wasn't obvious to me by browsing the repo files that themmdebstrap
file was a perl script with inbuilt documentation.The
README.md
suggests runningpod2man
, which is fine if you have source code checked out, but I am just browsing the repo and taking theREADME.md
as my guide.Maybe add a comment in the
README.md
to view the man page (if installed on the host system) or usepod2man
if 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.md
that 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.md
e.g.
This should fix this issue:
ebf7a67e37
Works for me :)