Commit Graph

19 Commits

Author SHA1 Message Date
Simo Leone
34e1d6b5dc Make default-config an overlay
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>
2007-10-24 02:05:32 -05:00
Simo Leone
4b62e90475 Make usage message appear before root user check
This allows joe user to see the usage message without
having to specify -h. Trivial.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24 02:05:32 -05:00
Dan McGee
9a34024e57 Allow livecd to be developer friendly
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>
2007-10-24 02:05:32 -05:00
Simo Leone
413b2fd552 Implemented a simple addon mechanism
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>
2007-10-16 23:38:05 -05:00
Dan McGee
47d1d2b0f7 Ensure the default config is copied into the ISO with correct perms
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-14 22:12:53 -05:00
Dan McGee
ef89b8a29f Make mkarchiso a bit more KISS
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>
2007-10-14 22:07:19 -05:00
Dan McGee
eb3e9b28da Return mkarchiso to being quiet
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>
2007-10-10 23:05:26 -05:00
Dan McGee
fccb39dcd8 A bunch of those first-glance type updates
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>
2007-10-10 21:43:44 -05:00
Simo Leone
2a7bf8d96e Install default homdir with proper ownership
Now it can be written to. Yay.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-09 20:59:27 -05:00
Simo Leone
9e3ff6cd61 Don't special case 'base' package list
No need to, can be included in any list of
installed packages, base is just a convention.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-09 20:59:27 -05:00
Simo Leone
703d43da17 Made PKGDIR a command line parameter
The package directory is now a command line param.
Also beefed up checking for package file existence.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-09 20:59:27 -05:00
Simo Leone
3b35c6e759 Don't nuke /tmp on the pristine image
Just nuke /tmp/* instead.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-09 20:59:26 -05:00
Simo Leone
eee9628b16 Don't use -safe on _pacman() in mkarchiso
This is just something I missed in the mkarchroot patch.
If in doubt, apply.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-09 20:59:26 -05:00
Simo Leone
db2a9699bd Use mkarchroot for package installation
Switch from running pacman directly. This requires root, and thus
fakeroot use has been removed.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-09 20:59:26 -05:00
Simo Leone
69c9986a9c Got archiso into working condition
Several small changes just as a shim to get everything to work.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-09 20:59:26 -05:00
Aaron Griffin
c464db5951 git-svn-id: http://phraktured.net/archiso@13 00a9fe69-e71b-0410-bb23-df0e5024db41 2006-09-28 02:15:25 +00:00
Aaron Griffin
93a6284c32 git-svn-id: http://phraktured.net/archiso@8 00a9fe69-e71b-0410-bb23-df0e5024db41 2006-09-12 18:14:17 +00:00
Aaron Griffin
9e499e11b2 git-svn-id: http://phraktured.net/archiso@4 00a9fe69-e71b-0410-bb23-df0e5024db41 2006-09-11 08:36:37 +00:00
Aaron Griffin
676782bc3a Initial import
git-svn-id: http://phraktured.net/archiso@1 00a9fe69-e71b-0410-bb23-df0e5024db41
2006-08-30 05:32:35 +00:00