Aaron Griffin
c8df7387dd
Trim spaces from the package list before using
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-20 23:40:43 -05:00
Aaron Griffin
d8f4565b89
Minor modifications to usage output
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-20 23:40:17 -05:00
Aaron Griffin
3f5c116d8c
Enable mkinitcpio hook to use the 'mounts' file
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-20 23:39:43 -05:00
Aaron Griffin
2b6515271d
Remove mkinitcpio functionality
...
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>
2008-10-19 23:31:50 -05:00
Aaron Griffin
f3110a21eb
Move mountfile copying code
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19 23:18:16 -05:00
Aaron Griffin
eb6693901d
Rename 'img' command to 'image'
...
Additionally, remove the "all" command
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19 23:08:34 -05:00
Aaron Griffin
bba27fbe4a
Default IMG_TYPE to 'iso'
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19 23:06:35 -05:00
Aaron Griffin
611c06daaa
Default ISO config cleanup
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19 23:05:58 -05:00
Aaron Griffin
b4d60a7ccb
Fail install if no packages specified
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19 22:40:36 -05:00
Aaron Griffin
61d0a83113
Code cleanup: usage and comments
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19 22:40:06 -05:00
Aaron Griffin
6989ceb442
Minor documentation updates
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19 22:39:35 -05:00
Aaron Griffin
e7a7902104
Add some config output on calling mkarchiso
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19 19:57:09 -05:00
Aaron Griffin
00848934b6
Remove all 'package file' usage in favor of command line packages
...
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>
2008-10-19 19:51:48 -05:00
Aaron Griffin
c2ffda39f9
Rename all uses of 'archlive' to 'archiso'
...
Additionally change grub prompts to use "ArchLinux LiveCD"
as the boot item name
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-10-19 15:49:55 -05:00
Aaron Griffin
f3c061b541
Capitalize "global" variables IMGROOT and INSTROOT
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-13 23:20:47 -05:00
Aaron Griffin
b7d7a9fcdf
Refactor commands out into functions (for the future)
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-13 23:18:10 -05:00
Aaron Griffin
6f9cdf5958
Added Simo's XFCE4 config
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-06 23:54:38 -05:00
Aaron Griffin
59b50c5b80
Update install-iso versions
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-06 23:51:10 -05:00
Aaron Griffin
6cb784537a
Rename default-config -> overlay
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-06 22:15:36 -05:00
Aaron Griffin
781b520dbf
Makefile cleanup
...
Use -D flag for install binary instead of mkdir
Remove old boot-{cd,usb} hooks
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-06 22:11:41 -05:00
Aaron Griffin
0d3f3f0183
Make gen_grubscan executable
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-06 22:09:57 -05:00
Aaron Griffin
00853df32b
Convert to unified archiso hook
...
No longer any difference between USB and CD booting
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-06 21:07:57 -05:00
Aaron Griffin
9417199206
Unify initcpio hooks to one glorious archiso hook
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-06 21:06:39 -05:00
Aaron Griffin
98318ea039
Rename "default-config" to "overlay"
...
I like difficulty and then name was annoying me
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-06 20:45:45 -05:00
Aaron Griffin
8966351b12
Split mkarchiso and configs into logical parts
...
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
2008-09-06 20:39:35 -05:00
Simo Leone
99ed5349b3
Fix CD-ROM Ejection
...
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-21 19:06:42 -05:00
Simo Leone
a53cf77e3f
Fix USB image corruption issues
...
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-21 19:04:34 -05:00
Simo Leone
7315f8459d
One more ide-cd fix
...
I missed a hook last time, so it was producing some
scary, but harmless output.
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-06-20 00:17:03 -05:00
Simo Leone
a23e702eb6
Changed ide-cd to ide-cd_mod
...
Damnit 2.6.25
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-05-17 02:12:38 -05:00
Simo Leone
e33c687400
modprobe loop module
...
udev doesn't modprobe loop by itself so we have
to ask it nicely.
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-05-17 00:40:10 -05:00
Simo Leone
441d989243
Added loop module to archiso hook
...
Loopbacks became a module in 2.6.25.
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-05-17 00:29:19 -05:00
Simo Leone
83968fd697
Removed backticks
...
Yes.
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-15 17:56:19 -05:00
Simo Leone
397bf04bae
Add USB modules to boot-cd hooks
...
This should allow the disk to find itself
on external CD-ROM drives.
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-02 20:29:01 -05:00
Simo Leone
6f4eca9a8c
Use -noappend on all mksquashfs calls
...
Otherwise unexpected things can happen.
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-04-02 02:25:34 -05:00
Simo Leone
a24b40c5d2
Wait for USB devices to settle before scanning
...
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-04-02 02:23:00 -05:00
Simo Leone
c265757045
Changed mkusbimg size to 25% over rootsize
...
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-30 04:00:32 -05:00
Simo Leone
378bf136e2
Integrate mkusbimg
...
Added to makefile and mkarchiso.
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-30 03:26:58 -05:00
Simo Leone
97ed563f00
Added USB image creation script
...
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-30 02:49:47 -05:00
Simo Leone
a278dabe55
Removed kernel26 reference
...
Better not to hardcode in case someone
wants to use another kernel.
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-30 01:27:54 -05:00
Dan McGee
36ed0cce2f
Update boot-usb to use dirs similar to boot-cd
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-03-29 15:54:57 -05:00
Dan McGee
ec9fdb371b
Cleanups and bugfixes
...
* /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-27 16:31:57 -05:00
Dan McGee
8a198aa131
Print a message when copytoram is being used
...
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Simo Leone <simo@archlinux.org>
2008-03-27 16:31:21 -05:00
Dan McGee
c79d2147d0
Add a few more things to the Makefile to get it ready for release
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-30 21:27:45 -05:00
Simo Leone
c1b42e82b9
Fix install rule in makefile
...
Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-25 15:08:16 -05:00
Dan McGee
9b6719d86a
Remove tmpfs at /tmp in default fstab, as our whole system is a tmpfs
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-24 23:04:15 -05:00
Dan McGee
56fceb1c11
testiso: use 256 megs of RAM
...
Signed-off-by: Dan McGee <dan@archlinux.org>
2007-10-24 21:18:24 -05:00
Dan McGee
1f1bbd1716
Update rc.conf a bit more
...
* 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-24 21:07:40 -05:00
Dan McGee
4af987fe10
Add some pregenerated locales to the default config
...
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-24 20:33:23 -05:00
Simo Leone
cd4b603584
Remove dupe code for mounting base image
...
Also improved variable naming.
Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24 20:20:59 -05:00
Simo Leone
adbe44f229
Make _mnt_squashfs more generic
...
No longer assume the image is in the addons
directory.
Signed-off-by: Simo Leone <simo@archlinux.org>
2007-10-24 20:17:24 -05:00