summaryrefslogtreecommitdiff
path: root/archiso
AgeCommit message (Collapse)Author
2009-01-30Fix a typo in the archiso-early hookAaron Griffin
Wrong slash! No idea how that happened :) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-29Increment usbdelay by 1 before sleepingAaron Griffin
This should give us *just a bit* more delay before actually trying to do things with the usb devices. Annoying, but will probably be effective Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-26Fix typos, formatting, and vague language where possible.Loui Chang
Signed-off-by: Loui Chang <louipc.ist@gmail.com> [Fixed menu.lst: LiveCD -> Live CD -aaron] Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-24Advanced USB delay handlingAaron Griffin
USB boot delay is now handled with the usbdelay kernel param (default=0) We use the built in delay of usb-storage to control this. by setting the module's delay param. If your USB device doesn't work on first boot, try setting usbdelay=10 or so Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-24Single quotes around find patterns during cleanupAaron Griffin
Whoops, *.img expands if we're building USB images. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-24Add a manual sleep and rootdelayAaron Griffin
It seems udev trigger/settle doesn't do what we expect, so we'll add functionality for the rootdelay param back in here. This should help fix FS#12896 Original-idea: Gerhard Brauer <gerbra@archlinux.de> Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2009-01-22Makefile fixes for 'install' targetØyvind Heggstad
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-24Remove a stray '_mksquash' echoAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-24Fix usb image's size detectionAaron Griffin
Conversion issue when dropping mkusbimg. Use work_dir/iso to get the proper image size Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-23Fix the way squashfs mountpoints are handledAaron Griffin
This is a hacky way to mount squashfs images at directories other than the root. We mount the image to a loop device and then bind it to another directory. This technically supersedes the 'bind' image type, so that should be removed... Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-23Fix the last "device exists check"Gerhard Brauer
Looks like my last-minute addition was goofed. Use && not || Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-23Properly remove the usb image's tmpdirAaron Griffin
Guess what? rm -f won't remove a dir. Whoops Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-23Fix some intending errors in USB creationAaron Griffin
This was causing sfdisk and grub to balk Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-23Add existence checks to the boot-media scanAaron Griffin
This prevents some cosmetic errors when globbing fails and the scripts try to mount something silly like "/dev/hd[a-z]" Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-23README and isomounts additions on creationAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-23Cleanup archiso hookAaron Griffin
Fix squashfs mounting of all isomounts images, along with a few other changes Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-21Allow specifying of pacman.conf file in mkarchisoAaron Griffin
Use the -C flag to allow us to build alternate isos on a different architecture and things of the sort Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-19Re-add the if-check that includes grub-gfxAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-19Remove host system package checksAaron Griffin
Not needed as we ensure files are in the ISO dir Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-19Add bootloader requirements to the READMEAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-18Remove mkusbimg from the install MakefileAaron Griffin
Merged into mkarchiso now Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-18Final changes for new nextgen scriptsAaron Griffin
Too much to list. Just look at the diff 8) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-18Fix isolinux support (pkgname)Aaron Griffin
Package name is 'syslinux' Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-18Rework the commands, create and isoAaron Griffin
Initial changes to get 'create' working as intended. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-18Change mounts file to isomountsAaron Griffin
Also check for this file instead of the root image on mount, to make images more generic Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-12-18Support mutli-arch disks by specifying the archAaron Griffin
Specify the arch on the command line and mountpoints so that we can support mutli-arch livecds Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-24Modprobe loop module before use in mkusbimgAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-11-13Update archiso hook to match root image namingSimo Leone
It's called root-image.sqfs rather than archiso.sqfs nowadays. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-11-13Fix loop device mountingSimo Leone
Take away redirects so error messages are readable, and wait to make sure udev creates the loopback devices before we try to use them. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-11-13Fix CD-ROM mountingSimo Leone
klibc-udev hasn't created cdrom symlinks in a while, we have to look through kernel names ourselves. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-10-30Fail to a shell if boot device not foundAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-25Move grub/isolinux stuff to Makefile levelAaron Griffin
Again, in an attempt to make this feel cleaner, I've moved more out to the makefile level. Not sure I'm happy with that but it works for now Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-25Fix archiso hook to deal with new udevAaron Griffin
udetrigger and udevsettle replaced by udevadm Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-20Rework image creationAaron Griffin
Allow for grub, grub-gfx, or isolinux support (isolinux support still pending, skeleton is in place) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-20Trim spaces from the package list before usingAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-20Minor modifications to usage outputAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-20Enable mkinitcpio hook to use the 'mounts' fileAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19Remove mkinitcpio functionalityAaron Griffin
We don't want to tie the archiso scripts to the way the ISO should boot the live system. This can and should be done at the build (Makefile) level beforehand Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19Move mountfile copying codeAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19Rename 'img' command to 'image'Aaron Griffin
Additionally, remove the "all" command Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19Default IMG_TYPE to 'iso'Aaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19Fail install if no packages specifiedAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19Code cleanup: usage and commentsAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19Minor documentation updatesAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19Add some config output on calling mkarchisoAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19Remove all 'package file' usage in favor of command line packagesAaron Griffin
This is just simpler and more intuitive. Shell tools can easily be used to install from a file. For instance: $ mkarciso ... -p "$(cat package-file)" Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19Rename all uses of 'archlive' to 'archiso'Aaron Griffin
Additionally change grub prompts to use "ArchLinux LiveCD" as the boot item name Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-13Capitalize "global" variables IMGROOT and INSTROOTAaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-13Refactor commands out into functions (for the future)Aaron Griffin
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-06Makefile cleanupAaron Griffin
Use -D flag for install binary instead of mkdir Remove old boot-{cd,usb} hooks Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>