Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-09-06Rename "default-config" to "overlay"Aaron Griffin
I like difficulty and then name was annoying me Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
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-06-21Fix USB image corruption issuesSimo Leone
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>
2008-06-20One more ide-cd fixSimo Leone
I missed a hook last time, so it was producing some scary, but harmless output. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-05-17Changed ide-cd to ide-cd_modSimo Leone
Damnit 2.6.25 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-05-17Added loop module to archiso hookSimo Leone
Loopbacks became a module in 2.6.25. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-15Removed backticksSimo Leone
Yes. 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-02Use -noappend on all mksquashfs callsSimo Leone
Otherwise unexpected things can happen. 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-30Changed mkusbimg size to 25% over rootsizeSimo Leone
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>
2008-03-30Integrate mkusbimgSimo Leone
Added to makefile and mkarchiso. Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-30Added USB image creation scriptSimo Leone
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>
2008-03-30Removed kernel26 referenceSimo Leone
Better not to hardcode in case someone wants to use another kernel. 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-27Cleanups and bugfixesDan McGee
* /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>
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-30Add a few more things to the Makefile to get it ready for releaseDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-25Fix install rule in makefileSimo Leone
Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24Remove tmpfs at /tmp in default fstab, as our whole system is a tmpfsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-24testiso: use 256 megs of RAMDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-24Update rc.conf a bit moreDan McGee
* 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>
2007-10-24Add some pregenerated locales to the default configDan McGee
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>
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-24rc.conf defaults to localtime instead of UTCSimo Leone
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>
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-24Added README with some documentationSimo Leone
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>
2007-10-24Make usage message appear before root user checkSimo Leone
This allows joe user to see the usage message without having to specify -h. Trivial. Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24Allow livecd to be developer friendlyDan McGee
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>
2007-10-24Fix line in sudoers so we can successfully sudoDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-24Add basic uninstall target to MakefileDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-16Updated TODOSimo Leone
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-14Ensure the default config is copied into the ISO with correct permsDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-14Make mkarchiso a bit more KISSDan McGee
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>
2007-10-14Add bin images to repo, and fix up the paths in GRUBDan McGee
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>
2007-10-14Update TODODan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-14First attempt at a makefile for the archiso packageDan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-10Return mkarchiso to being quietDan McGee
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>
2007-10-10Fix issue where stock Arch initscripts were unable to find /Dan McGee
If we add a root entry in our default fstab, we will be able to remount root without issues in the initscripts, even if we don't have access to the original mount locations and such. Signed-off-by: Dan McGee <dan@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-10Ew, DOS line endings. Get rid of them.Dan McGee
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-10Add some groups that were missing from the default configDan McGee
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>