Commit Graph

16 Commits

Author SHA1 Message Date
Dan McGee
8a198aa131 Print a message when copytoram is being used
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-27 16:31:21 -05:00
Simo Leone
cd4b603584 Remove dupe code for mounting base image
Also improved variable naming.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24 20:20:59 -05:00
Simo Leone
adbe44f229 Make _mnt_squashfs more generic
No longer assume the image is in the addons
directory.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24 20:17:24 -05:00
Simo Leone
8a5b9225e9 Fixed addon config parsing
The check for a comment line wasn't actually working
before. Shell quoting ftl.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24 15:10:42 -05:00
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
0dfc0a36ca Functionalize addon mounting
Moved addon mounting code into functions.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24 02:05:32 -05:00
Simo Leone
a0a8c9ef09 Implement fstab-like addon config
For now all it handles is bind mounting and squashfs
images that have to overlay at the root. The config
file syntax is obviously borrowed from fstab. This
is far from final, much of it could use some cleanup.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-16 23:49:30 -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
bc8ec134e1 Slight updates to initcpio hooks
* Get rid of unnecessary trailing slash on BOOT_MOUNT variable
* Fix -eq/= mixup- we are comparing strings, not numbers
* Don't unmount /dev, as it was never mounted

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-10 23:05:26 -05:00
Simo Leone
5c7046f2fc Can now break out of archiso hook into dash
Usually initcpio's init takes care of this, but
it never executes that far, so this is copypasta.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-10 22:42:50 -05:00
Dan McGee
8ada60b175 Update vim modelines on most files
Move the vim modelines to the bottom, and add the tab settings.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-10 22:34:28 -05:00
Simo Leone
0ed7712017 Fixed references to archiso.sqfs
Appears to have been changed to archlive.sqfs,
a couple hooks refered to the old name and didn't work.

Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-09 20:59:26 -05:00
Simo Leone
c2c8c2a77a Revert "Do not copy sqfs image to RAM"
This reverts commit 42d794561c1f3809f95299e4aa04cd3f28d4239b.
My bad. Bad logic on removing, it was an option anyway.
2007-10-09 20:59:26 -05:00
Simo Leone
93c40cb386 Do not copy sqfs image to RAM
This implies a memory requirement for the running system, since
the sqfs image needs to be able to fit onto the ramdisk, which
breaks lowmem systems like qemu.

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
49284a96fa git-svn-id: http://phraktured.net/archiso@15 00a9fe69-e71b-0410-bb23-df0e5024db41 2006-09-29 06:19:06 +00:00