aboutsummaryrefslogtreecommitdiff
path: root/hooks
Commit message (Collapse)AuthorAgeFilesLines
* Split mkarchiso and configs into logical partsAaron Griffin2008-09-063-169/+0
| | | | Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Fix CD-ROM EjectionSimo Leone2008-06-211-1/+1
| | | | | | | | | Fixes FS#10206 Setting the drive to autoeject causes udevadm trigger to always eject the device if it isn't mounted. Signed-off-by: Simo Leone <simo@archlinux.org>
* modprobe loop moduleSimo Leone2008-05-171-0/+1
| | | | | | | udev doesn't modprobe loop by itself so we have to ask it nicely. Signed-off-by: Simo Leone <simo@archlinux.org>
* Add USB modules to boot-cd hooksSimo Leone2008-04-021-0/+6
| | | | | | | This should allow the disk to find itself on external CD-ROM drives. Signed-off-by: Simo Leone <simo@archlinux.org>
* Wait for USB devices to settle before scanningSimo Leone2008-04-021-0/+4
| | | | | | | | We weren't able to pick up usb devices at all, because the kernel takes its sweet time realizing that they're there. Signed-off-by: Simo Leone <simo@archlinux.org>
* Update boot-usb to use dirs similar to boot-cdDan McGee2008-03-291-2/+2
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Print a message when copytoram is being usedDan McGee2008-03-271-0/+1
| | | | | Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Simo Leone <simo@archlinux.org>
* Remove dupe code for mounting base imageSimo Leone2007-10-241-12/+6
| | | | | | Also improved variable naming. Signed-off-by: Simo Leone <simo@archlinux.org>
* Make _mnt_squashfs more genericSimo Leone2007-10-241-3/+3
| | | | | | | No longer assume the image is in the addons directory. Signed-off-by: Simo Leone <simo@archlinux.org>
* Fixed addon config parsingSimo Leone2007-10-241-1/+1
| | | | | | | The check for a comment line wasn't actually working before. Shell quoting ftl. Signed-off-by: Simo Leone <simo@archlinux.org>
* Make default-config an overlaySimo Leone2007-10-241-0/+4
| | | | | | | | 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>
* Functionalize addon mountingSimo Leone2007-10-241-15/+26
| | | | | | Moved addon mounting code into functions. Signed-off-by: Simo Leone <simo@archlinux.org>
* Implement fstab-like addon configSimo Leone2007-10-161-4/+28
| | | | | | | | | 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>
* Implemented a simple addon mechanismSimo Leone2007-10-161-0/+6
| | | | | | | | | | | | | | | 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>
* Slight updates to initcpio hooksDan McGee2007-10-103-4/+3
| | | | | | | | * 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>
* Can now break out of archiso hook into dashSimo Leone2007-10-101-0/+6
| | | | | | | 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>
* Update vim modelines on most filesDan McGee2007-10-103-3/+6
| | | | | | Move the vim modelines to the bottom, and add the tab settings. Signed-off-by: Dan McGee <dan@archlinux.org>
* Fixed references to archiso.sqfsSimo Leone2007-10-092-4/+4
| | | | | | | 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>
* Revert "Do not copy sqfs image to RAM"Simo Leone2007-10-091-1/+5
| | | | | This reverts commit 42d794561c1f3809f95299e4aa04cd3f28d4239b. My bad. Bad logic on removing, it was an option anyway.
* Do not copy sqfs image to RAMSimo Leone2007-10-091-5/+1
| | | | | | | | 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>
* Got archiso into working conditionSimo Leone2007-10-092-4/+3
| | | | | | Several small changes just as a shim to get everything to work. Signed-off-by: Simo Leone <simo@archlinux.org>
* git-svn-id: http://phraktured.net/archiso@15 ↵Aaron Griffin2006-09-293-0/+111
00a9fe69-e71b-0410-bb23-df0e5024db41