aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix issue where stock Arch initscripts were unable to find /Dan McGee2007-10-101-0/+1
| | | | | | | | 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>
* 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>
* Ew, DOS line endings. Get rid of them.Dan McGee2007-10-101-21/+21
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add some groups that were missing from the default configDan McGee2007-10-101-0/+2
| | | | 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-106-6/+12
| | | | | | Move the vim modelines to the bottom, and add the tab settings. Signed-off-by: Dan McGee <dan@archlinux.org>
* A bunch of those first-glance type updatesDan McGee2007-10-102-37/+68
| | | | | | | | | | Some new eyes on the code, and finding some new things to fix up. A lot of documentation type stuff with some code commenting. Make the message and echo stuff a bit more consistant. Move the UID check later so that we can see help as a normal user. Other small fixups. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Simo Leone <simo@archlinux.org>
* Add back to main menu items for two of the submenusDan McGee2007-10-102-0/+6
| | | | | | | You could get stuck in the keyboard menu with no way out, fix that. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Simo Leone <simo@archlinux.org>
* Updated ARCH kernel modules package listSimo Leone2007-10-091-4/+1
| | | | | | | A bunch of those drivers didn't exist anymore. Some now ship with the kernel itself. Signed-off-by: Simo Leone <simo@archlinux.org>
* Remove beyond module package listSimo Leone2007-10-091-7/+0
| | | | | | The beyond kernel no longer exists. Signed-off-by: Simo Leone <simo@archlinux.org>
* Install default homdir with proper ownershipSimo Leone2007-10-091-1/+1
| | | | | | Now it can be written to. Yay. Signed-off-by: Simo Leone <simo@archlinux.org>
* Don't special case 'base' package listSimo Leone2007-10-091-8/+4
| | | | | | | No need to, can be included in any list of installed packages, base is just a convention. Signed-off-by: Simo Leone <simo@archlinux.org>
* Made PKGDIR a command line parameterSimo Leone2007-10-091-2/+9
| | | | | | | The package directory is now a command line param. Also beefed up checking for package file existence. Signed-off-by: Simo Leone <simo@archlinux.org>
* Update TODOSimo Leone2007-10-091-0/+6
| | | | | | Added a few items. Signed-off-by: Simo Leone <simo@archlinux.org>
* Don't nuke /tmp on the pristine imageSimo Leone2007-10-091-1/+1
| | | | | | Just nuke /tmp/* instead. Signed-off-by: Simo Leone <simo@archlinux.org>
* Fixed cmdline_param(), used in rc.confSimo Leone2007-10-091-3/+2
| | | | | | | | | | | Turns out /proc gets mounted after rc.conf is sourced for the first time, so /proc/cmdline isn't such a great place to be getting parameters from in rc.conf. Use CMDLINE env variable instead, which is set to mostly the same thing (well the part we care about, at the least). Also cmdline_param wasn't breaking out of the loop properly. Signed-off-by: Simo Leone <simo@archlinux.org>
* Updated TODO itemsSimo Leone2007-10-091-6/+0
| | | | Signed-off-by: Simo Leone <simo@archlinux.org>
* Don't use -safe on _pacman() in mkarchisoSimo Leone2007-10-091-1/+1
| | | | | | | This is just something I missed in the mkarchroot patch. If in doubt, apply. Signed-off-by: Simo Leone <simo@archlinux.org>