aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rename default-config -> overlayAaron Griffin2008-09-061-2/+2
| | | | Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Makefile cleanupAaron Griffin2008-09-061-10/+7
| | | | | | | Use -D flag for install binary instead of mkdir Remove old boot-{cd,usb} hooks Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Make gen_grubscan executableAaron Griffin2008-09-061-0/+0
| | | | Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Convert to unified archiso hookAaron Griffin2008-09-065-18/+6
| | | | | | No longer any difference between USB and CD booting Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Unify initcpio hooks to one glorious archiso hookAaron Griffin2008-09-066-110/+55
| | | | Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Rename "default-config" to "overlay"Aaron Griffin2008-09-0679-545/+7
| | | | | | I like difficulty and then name was annoying me Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Split mkarchiso and configs into logical partsAaron Griffin2008-09-0691-0/+2937
| | | | 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>
* Fix USB image corruption issuesSimo Leone2008-06-211-49/+26
| | | | | | | | | | | | | | | | | | Fixes FS#10614 sfdisk and the kernel cannot accurately detect disk geometry from the disk image file, causing automatic partition size calculations to fail. The whole partition table is now calculated in mkusbimg rather than letting sfdisk do it. mkusbimg doesn't directly use losetup anymore either, eliminating some code. This also fixes issues with needing to make the partition much larger than necessary, so image size has been minimized. Signed-off-by: Simo Leone <simo@archlinux.org>
* One more ide-cd fixSimo Leone2008-06-201-1/+1
| | | | | | | I missed a hook last time, so it was producing some scary, but harmless output. Signed-off-by: Simo Leone <simo@archlinux.org>
* Changed ide-cd to ide-cd_modSimo Leone2008-05-172-2/+2
| | | | | | Damnit 2.6.25 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>
* Added loop module to archiso hookSimo Leone2008-05-171-1/+1
| | | | | | Loopbacks became a module in 2.6.25. Signed-off-by: Simo Leone <simo@archlinux.org>
* Removed backticksSimo Leone2008-04-151-1/+1
| | | | | | Yes. Signed-off-by: Simo Leone <simo@archlinux.org>
* Add USB modules to boot-cd hooksSimo Leone2008-04-022-0/+14
| | | | | | | This should allow the disk to find itself on external CD-ROM drives. Signed-off-by: Simo Leone <simo@archlinux.org>
* Use -noappend on all mksquashfs callsSimo Leone2008-04-021-4/+4
| | | | | | Otherwise unexpected things can happen. 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>
* Changed mkusbimg size to 25% over rootsizeSimo Leone2008-03-301-3/+6
| | | | | | | | | This is plenty to compensate for filesystem overhead. Cutting the size too close to the minimum makes the image unbootable. No idea why. Signed-off-by: Simo Leone <simo@archlinux.org>
* Integrate mkusbimgSimo Leone2008-03-302-40/+50
| | | | | | Added to makefile and mkarchiso. Signed-off-by: Simo Leone <simo@archlinux.org>
* Added USB image creation scriptSimo Leone2008-03-301-0/+98
| | | | | | | | | mkusbimg creates bootable raw disk images that can be written to USB devices. It's intended to be on the same functional level as mkisofs. Signed-off-by: Simo Leone <simo@archlinux.org>
* Removed kernel26 referenceSimo Leone2008-03-301-2/+2
| | | | | | | Better not to hardcode in case someone wants to use another kernel. 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>
* Cleanups and bugfixesDan McGee2008-03-271-16/+3
| | | | | | | | | | * /etc/copyright was all sorts of messed up, it was looked for on the host system instead of the ISO, etc. Just kill it. * Remove extra default-config code. We want to implement it as an overlay and not copy it into our pristine ISO root. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Simo Leone <simo@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>
* Add a few more things to the Makefile to get it ready for releaseDan McGee2007-10-301-0/+4
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix install rule in makefileSimo Leone2007-10-251-1/+1
| | | | Signed-off-by: Simo Leone <simo@archlinux.org>
* Remove tmpfs at /tmp in default fstab, as our whole system is a tmpfsDan McGee2007-10-241-1/+0
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* testiso: use 256 megs of RAMDan McGee2007-10-241-1/+1
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update rc.conf a bit moreDan McGee2007-10-241-6/+2
| | | | | | | | * Remove lo interface as we don't need it anymore with the new initscripts * Make clock configurable on the command line * Remove unnecessary stuff Signed-off-by: Dan McGee <dan@archlinux.org>
* Add some pregenerated locales to the default configDan McGee2007-10-242-0/+361
| | | | | | | | | | | | | This adds a locale.gen file with the default generated locales uncommented, and a prebuilt locale-archive containing the following locales: $ locale -a C POSIX en_US en_US.iso88591 en_US.utf8 Signed-off-by: Dan McGee <dan@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>
* rc.conf defaults to localtime instead of UTCSimo Leone2007-10-241-1/+1
| | | | | | | | Most user's systems will have localtime over UTC, or at least in a liveCD situation it's a better assumption. 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-242-3/+18
| | | | | | | | 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>
* Added README with some documentationSimo Leone2007-10-241-0/+85
| | | | | | | Some rudimentary documentation that mkarchiso -h doesn't quite cover. Poor humor comes free with the deal. Signed-off-by: Simo Leone <simo@archlinux.org>
* Make usage message appear before root user checkSimo Leone2007-10-241-5/+5
| | | | | | | This allows joe user to see the usage message without having to specify -h. Trivial. Signed-off-by: Simo Leone <simo@archlinux.org>
* Allow livecd to be developer friendlyDan McGee2007-10-241-5/+1
| | | | | | | | 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>
* Fix line in sudoers so we can successfully sudoDan McGee2007-10-241-1/+1
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add basic uninstall target to MakefileDan McGee2007-10-241-0/+7
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Updated TODOSimo Leone2007-10-161-4/+0
| | | | Signed-off-by: Simo Leone <simo@archlinux.org>
* Implement fstab-like addon configSimo Leone2007-10-162-19/+34
| | | | | | | | | 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-163-1/+33
| | | | | | | | | | | | | | | 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>
* Ensure the default config is copied into the ISO with correct permsDan McGee2007-10-141-1/+1
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Make mkarchiso a bit more KISSDan McGee2007-10-146-60/+49
| | | | | | | | | 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>
* Add bin images to repo, and fix up the paths in GRUBDan McGee2007-10-149-1/+1072
| | | | | | | | | | | | Add some of the bin images we say we have into the GIT repo so that our ISO actually builds with these files. All latest versions were fetched: * diag2.img: 19-Feb-2007 (no version number) * memdisk.bin: built from syslinux-3.52 * memtest86+: 1.70 * x86_test: 0.10a Signed-off-by: Dan McGee <dan@archlinux.org>
* Update TODODan McGee2007-10-141-0/+3
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* First attempt at a makefile for the archiso packageDan McGee2007-10-141-0/+16
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Return mkarchiso to being quietDan McGee2007-10-101-8/+27
| | | | | | | 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>