Rewrite the Makefile to avoid rebuild of squashfs images,
base filesystem, and redownload of packages for make the core-pkgs.
For now (what is tested): type make and all images will be created
in < 4 minutes (under tmpfs on Athlon 64 X2 5200+ 4GB)
419489280 Nov 19 05:32 archlinux-2009.11-core-i686.img
394309632 Nov 19 05:32 archlinux-2009.11-core-i686.iso
189181440 Nov 19 05:31 archlinux-2009.11-netinstall-i686.img
171581440 Nov 19 05:31 archlinux-2009.11-netinstall-i686.iso
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Git doesn't track empty directories, so there is no
configs/install-iso/overlay/pacman.d/ directory when one clones the
archiso project. This causes "make <IMAGENAME>" to fail when
wget tries to fetch the mirrorlist. The fix is to make the directory
just before calling wget.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Modified all references from old ftp-iso/-img to netinstall.
This will fix FeatureRequest FS#14587
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This will generate a label ARCHISO_$randomstring using the pwgen
utility and add this label to the kernel command line.
A new label will be generated for each image, so it can be uniquely
identified.
Patch from brain0 <thomas@archlinux.org>
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Removed mirrorlist file from overlay and modified Makefile to fetch
the file dynamically on iso creation (Thanks, Dan!)
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Added ntp to packages list (Both ARCHes)
* Modified Makefile to parse the CARCH related packages.$ARCH
We need different lists cause not all packages exist for both arches.
And it's bad to edit in the packages.list each build.
Signed-off-by: Gerhard Brauer <gerbra@archlinux.de>
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
The x86_64 images were installing i686 systems. This
was due to the fact that the mirrorlist was in the overlay.
A new devtools release (with the -n arg) will fix this when
running mkarchroot. To be removed later
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This is crappy and hacky but enables us to build ALL
images faster, allowing for faster iteration
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This lets us build resultant images in sequence, as
the suqsh step is done multiple times (TODO: fix this)
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Also do some tidying of the config and set the
default timezone to nothing, to prevent hiccups on
rc.shutdown
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Make sure we copy the boot directory we installed to the actual
ISO image. We need this for vmlinuz26 and the like...
Are we doing too much in the Makefile?
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Lots of changes, mainly for argument processing
and things of that nature in mkarchiso. Split out
some common functionality in the Maekfile as well.
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>