* /etc/copyright was all sorts of messed up, it was looked for on the host
system instead of the ISO, etc. Just kill it.
* Remove extra default-config code. We want to implement it as an overlay
and not copy it into our pristine ISO root.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Simo Leone <simo@archlinux.org>
This allows the root image to remain a [mostly] pristine
image, and turns default liveCD configurations into an
overlay, rather than copying them into the root image.
Signed-off-by: Simo Leone <simo@archlinux.org>
We should clean up some stuff but not actually muddle with what is installed
by packages. Leave static libs if they were installed, and leave include
files so we can actually build a package from the live CD if we want to.
Signed-off-by: Dan McGee <dan@archlinux.org>
If asked to do so, mkarchiso simply copies a
directory full of addons to the iso root.
On boot, after union-mounting /real_root, the
archiso hook will look for and source an addon
config file. This file is a plain old bash
script, which makes it quite flexible. The addon
config should be written to take care of any
mounting that needs to be done, an example of
typical tasks is also included.
Signed-off-by: Simo Leone <simo@archlinux.org>
Remove the need for a configuration file. Some of the command line options
had to be switched up a bit in order to do this. Also simplify the package
list- only one package list is needed, not a directory, and additional
packages can be specified on the command line.
Signed-off-by: Dan McGee <dan@archlinux.org>
Add some output redirects again to make the script a bit more silent. Full
verbosity can still be had with the -v option.
Signed-off-by: Dan McGee <dan@archlinux.org>
Some new eyes on the code, and finding some new things to fix up. A lot of
documentation type stuff with some code commenting. Make the message and
echo stuff a bit more consistant. Move the UID check later so that we can
see help as a normal user. Other small fixups.
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Simo Leone <simo@archlinux.org>