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>
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>
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>
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>
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>
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>
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>
* /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>
* 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>
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>
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>