Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks
AgeCommit message (Collapse)Author
2014-08-08Reintroduce the possibility to force an architectureLukas Fleischer
Among other things, 0bb94de ([archiso] Drop aitab support, 2014-06-28) removed the possibility to manually set a specific architecture by using kernel parameters. This, however, is useful, e.g. when installing Arch Linux on a device that reports itself as i586 but works fine with the i686 flavor. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
2014-06-28[archiso] Rework checksum functionGerardo Exequiel Pozzi
2014-06-28[archiso] rename airootfs.fs.sfs to airootfs.sfsGerardo Exequiel Pozzi
* Make it ISO9660 friendly (extra dot "." is replaced by "_") * Was used when support both .fs.sfs and .sfs
2014-06-28[archiso] Drop aitab supportGerardo Exequiel Pozzi
Always create one filesystem of a fixed size (32G), format (ext4) and know name "airootfs". Simplify logic a lot.
2013-01-08[archiso] Avoid integer overflow when .fs is > 10.2GGerardo Exequiel Pozzi
2012-10-16[archiso] Allow set copytoram=n for NBD/NFSGerardo Exequiel Pozzi
On low memory systems installing via PXE is not possible. Do not force copytoram=y for NFS/NDB. Broken/hang things: * On shutdown. * On run-time if some network settings changed. Implements FS#32006. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-13[archiso] Introduce cowfile_size= bootparamGerardo Exequiel Pozzi
If not set, nothing is changed in current behaviour. Since dm-snapshot allows to use as "COW" a file with any size, without caring about the the size of "origin", we can avoid creating a "COW" file of the same size as the "origin". This is really useful, when using as cow_device= a filesystem that is VFAT where sparse files are not supported, so if root-image.fs is 1000M, passing cowfile_size=25% will create a root-image.cow of 250M instead of 1000M. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2012-10-06Use tmpfs for /etc/pacman.d/gnupg instead of a symlink to /runPierre Schmitz
This fixes FS#31815 Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
2012-08-25[archiso] Rework Makefile / Reorder filesGerardo Exequiel Pozzi
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2008-09-06Split mkarchiso and configs into logical partsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-06-21Fix CD-ROM EjectionSimo Leone
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>
2008-05-17modprobe loop moduleSimo Leone
udev doesn't modprobe loop by itself so we have to ask it nicely. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-02Add USB modules to boot-cd hooksSimo Leone
This should allow the disk to find itself on external CD-ROM drives. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-02Wait for USB devices to settle before scanningSimo Leone
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>
2008-03-29Update boot-usb to use dirs similar to boot-cdDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-03-27Print a message when copytoram is being usedDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24Remove dupe code for mounting base imageSimo Leone
Also improved variable naming. Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24Make _mnt_squashfs more genericSimo Leone
No longer assume the image is in the addons directory. Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24Fixed addon config parsingSimo Leone
The check for a comment line wasn't actually working before. Shell quoting ftl. Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24Make default-config an overlaySimo Leone
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-24Functionalize addon mountingSimo Leone
Moved addon mounting code into functions. Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-16Implement fstab-like addon configSimo Leone
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-16Implemented a simple addon mechanismSimo Leone
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-10Slight updates to initcpio hooksDan McGee
* 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-10Can now break out of archiso hook into dashSimo Leone
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-10Update vim modelines on most filesDan McGee
Move the vim modelines to the bottom, and add the tab settings. Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-09Fixed references to archiso.sqfsSimo Leone
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-09Revert "Do not copy sqfs image to RAM"Simo Leone
This reverts commit 42d794561c1f3809f95299e4aa04cd3f28d4239b. My bad. Bad logic on removing, it was an option anyway.
2007-10-09Do not copy sqfs image to RAMSimo Leone
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-09Got archiso into working conditionSimo Leone
Several small changes just as a shim to get everything to work. Signed-off-by: Simo Leone <simo@archlinux.org>
2006-09-29git-svn-id: http://phraktured.net/archiso@15 ↵Aaron Griffin
00a9fe69-e71b-0410-bb23-df0e5024db41