Age | Commit message (Collapse) | Author |
|
Also improved variable naming.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
No longer assume the image is in the addons
directory.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
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>
|
|
The check for a comment line wasn't actually working
before. Shell quoting ftl.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
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>
|
|
Moved addon mounting code into functions.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
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>
|
|
This allows joe user to see the usage message without
having to specify -h. Trivial.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
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>
|
|
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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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 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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
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>
|
|
* 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>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
Move the vim modelines to the bottom, and add the tab settings.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
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>
|
|
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>
|
|
A bunch of those drivers didn't exist anymore.
Some now ship with the kernel itself.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
The beyond kernel no longer exists.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
Now it can be written to. Yay.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
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>
|
|
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>
|
|
Added a few items.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
Just nuke /tmp/* instead.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
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>
|
|
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
This is just something I missed in the mkarchroot patch.
If in doubt, apply.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
Switch from running pacman directly. This requires root, and thus
fakeroot use has been removed.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
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>
|
|
This reverts commit 42d794561c1f3809f95299e4aa04cd3f28d4239b.
My bad. Bad logic on removing, it was an option anyway.
|
|
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>
|
|
Several small changes just as a shim to get everything to work.
Signed-off-by: Simo Leone <simo@archlinux.org>
|
|
git-svn-id: http://phraktured.net/archiso@23 00a9fe69-e71b-0410-bb23-df0e5024db41
|
|
00a9fe69-e71b-0410-bb23-df0e5024db41
|
|
00a9fe69-e71b-0410-bb23-df0e5024db41
|
|
00a9fe69-e71b-0410-bb23-df0e5024db41
|
|
git-svn-id: http://phraktured.net/archiso@19 00a9fe69-e71b-0410-bb23-df0e5024db41
|
|
git-svn-id: http://phraktured.net/archiso@18 00a9fe69-e71b-0410-bb23-df0e5024db41
|
|
git-svn-id: http://phraktured.net/archiso@17 00a9fe69-e71b-0410-bb23-df0e5024db41
|