Cleanup the install-iso Makefile
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>
This commit is contained in:
parent
77e9ea45ca
commit
4c3572f415
7 changed files with 21 additions and 63 deletions
|
@ -1,15 +1,16 @@
|
||||||
ver=2008.12
|
ver=2008.12
|
||||||
kver=2.6.27-ARCH
|
kver=2.6.27-ARCH
|
||||||
|
|
||||||
#Define outside of 'make' for other arches
|
|
||||||
ARCH=i686
|
|
||||||
|
|
||||||
WORKDIR=work
|
WORKDIR=work
|
||||||
BOOTLOADER=grub-gfx
|
|
||||||
|
|
||||||
PWD=`pwd`
|
ARCH?=i686
|
||||||
FTPname=$(PWD)/archlinux-$(ver)-ftp-$(ARCH)
|
BOOTLOADER?=grub-gfx
|
||||||
COREname=$(PWD)/archlinux-$(ver)-core-$(ARCH)
|
|
||||||
|
PWD:=`pwd`
|
||||||
|
FTPname:=$(PWD)/archlinux-$(ver)-ftp-$(ARCH)
|
||||||
|
COREname:=$(PWD)/archlinux-$(ver)-core-$(ARCH)
|
||||||
|
|
||||||
|
PACKAGES="`cat packages.list` $(BOOTLOADER)"
|
||||||
|
|
||||||
all: core-iso core-usb ftp-iso ftp-usb
|
all: core-iso core-usb ftp-iso ftp-usb
|
||||||
all-iso: core-iso ftp-iso
|
all-iso: core-iso ftp-iso
|
||||||
|
@ -31,15 +32,21 @@ overlay: base-iso
|
||||||
cp -r overlay $(WORKDIR)/
|
cp -r overlay $(WORKDIR)/
|
||||||
|
|
||||||
root-image:
|
root-image:
|
||||||
mkarchiso -p "`cat packages.list-$(ARCH)` $(BOOTLOADER)" create $(WORKDIR)
|
mkarchiso -p "$(PACKAGES)" create $(WORKDIR)
|
||||||
|
|
||||||
base-iso: root-image
|
base-iso: root-image
|
||||||
mv $(WORKDIR)/root-image/boot $(WORKDIR)/iso/
|
mv $(WORKDIR)/root-image/boot $(WORKDIR)/iso/
|
||||||
cp -r boot-files/* $(WORKDIR)/iso/boot/
|
cp -r boot-files/* $(WORKDIR)/iso/boot/
|
||||||
|
cp isomounts $(WORKDIR)
|
||||||
|
|
||||||
mkinitcpio -c initcpio-ide -b $(WORKDIR)/root-image -k $(kver) -g $(WORKDIR)/iso/boot/archiso-ide.img
|
mkinitcpio -c initcpio-ide -b $(WORKDIR)/root-image -k $(kver) -g $(WORKDIR)/iso/boot/archiso_ide.img
|
||||||
mkinitcpio -c initcpio-pata -b $(WORKDIR)/root-image -k $(kver) -g $(WORKDIR)/iso/boot/archiso-pata.img
|
mkinitcpio -c initcpio-pata -b $(WORKDIR)/root-image -k $(kver) -g $(WORKDIR)/iso/boot/archiso_pata.img
|
||||||
|
|
||||||
|
core-pkgs: base-iso
|
||||||
|
mkdir $(WORKDIR)/core-pkgs/
|
||||||
|
wget --mirror -P $(WORKDIR)/core-pkgs -nH --cut-dirs=3 ftp://ftp.archlinux.org/core/os/$(ARCH)
|
||||||
|
|
||||||
|
# Bootloaders
|
||||||
grub-gfx:
|
grub-gfx:
|
||||||
cp -r $(WORKDIR)/root-image/usr/lib/grub/i386-pc/* $(WORKDIR)/iso/boot/grub
|
cp -r $(WORKDIR)/root-image/usr/lib/grub/i386-pc/* $(WORKDIR)/iso/boot/grub
|
||||||
|
|
||||||
|
@ -49,9 +56,5 @@ grub:
|
||||||
isolinux:
|
isolinux:
|
||||||
cp -r $(WORKDIR)/root-image/usr/lib/syslinux/isolinux.bin $(WORKDIR)/iso/boot/isolinux
|
cp -r $(WORKDIR)/root-image/usr/lib/syslinux/isolinux.bin $(WORKDIR)/iso/boot/isolinux
|
||||||
|
|
||||||
core-pkgs: base-iso
|
|
||||||
mkdir $(WORKDIR)/core-pkgs/
|
|
||||||
wget --mirror -P $(WORKDIR)/core-pkgs -nH --cut-dirs=3 ftp://ftp.archlinux.org/core/os/$(ARCH)
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(WORKDIR) $(FTPname).img $(FTPname).iso $(COREname).img $(COREname).iso
|
rm -rf $(WORKDIR) $(FTPname).img $(FTPname).iso $(COREname).img $(COREname).iso
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Arch Linux Live Installer 2008.06 (Overlord)
|
Arch Linux Live ISO
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#
|
|
||||||
# /etc/fstab: static file system information
|
# /etc/fstab: static file system information
|
||||||
#
|
|
||||||
# <file system> <dir> <type> <options> <dump> <pass>
|
# <file system> <dir> <type> <options> <dump> <pass>
|
||||||
unionfs / unionfs noauto 0 0
|
unionfs / unionfs noauto 0 0
|
||||||
none /dev/pts devpts defaults 0 0
|
none /dev/pts devpts defaults 0 0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[H[2J
|
[H[2J
|
||||||
Arch Linux Live Installer 2008.06 (Overlord) (\l)
|
Arch Linux Live ISO(\l)
|
||||||
\s-\r \m.
|
\s-\r \m.
|
||||||
Default logins "root" and "arch" have no password.
|
Default logins "root" and "arch" have no password.
|
||||||
To begin installation, login as root.
|
To begin installation, login as root.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
LOCALE_DEFAULT="en_US.UTF-8"
|
LOCALE_DEFAULT="en_US.UTF-8"
|
||||||
CLOCK_DEFAULT="localtime"
|
CLOCK_DEFAULT="localtime"
|
||||||
TIMEZONE_DEFAULT="America/Chicago"
|
TIMEZONE_DEFAULT=""
|
||||||
KEYMAP_DEFAULT="us"
|
KEYMAP_DEFAULT="us"
|
||||||
|
|
||||||
LOCALE="$(cmdline_param locale ${LOCALE_DEFAULT})"
|
LOCALE="$(cmdline_param locale ${LOCALE_DEFAULT})"
|
||||||
|
@ -21,5 +21,5 @@ MOD_AUTOLOAD="yes"
|
||||||
HOSTNAME="archiso"
|
HOSTNAME="archiso"
|
||||||
|
|
||||||
#TODO add more auto-daemons here, especially the live-cd specific stuff
|
#TODO add more auto-daemons here, especially the live-cd specific stuff
|
||||||
DAEMONS=(syslog-ng network crond)
|
DAEMONS=(syslog-ng network)
|
||||||
#TODO: auto-network find-disks find-user-home
|
#TODO: auto-network find-disks find-user-home
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
archlinux-installer
|
|
||||||
atl2
|
|
||||||
base
|
|
||||||
dnsutils
|
|
||||||
dosfstools
|
|
||||||
elinks
|
|
||||||
gnu-netcat
|
|
||||||
grub-gfx
|
|
||||||
ipw2100-fw
|
|
||||||
ipw2200-fw
|
|
||||||
iwlwifi-3945-ucode
|
|
||||||
iwlwifi-4965-ucode
|
|
||||||
iwlwifi-5000-ucode
|
|
||||||
lftp
|
|
||||||
lilo
|
|
||||||
lshwd
|
|
||||||
madwifi
|
|
||||||
madwifi-utils
|
|
||||||
memtest86+
|
|
||||||
ndiswrapper
|
|
||||||
ndiswrapper-utils
|
|
||||||
netkit-telnet
|
|
||||||
nfs-utils
|
|
||||||
nmap
|
|
||||||
ntfs-3g
|
|
||||||
ntfsprogs
|
|
||||||
openssh
|
|
||||||
openvpn
|
|
||||||
parted
|
|
||||||
pptpclient
|
|
||||||
rt2500
|
|
||||||
rt2x00-rt61-fw
|
|
||||||
rt2x00-rt71w-fw
|
|
||||||
speedtouch
|
|
||||||
squashfs-tools
|
|
||||||
tcpdump
|
|
||||||
tiacx
|
|
||||||
tiacx-firmware
|
|
||||||
unionfs-utils
|
|
||||||
wireless_tools
|
|
||||||
wlan-ng26
|
|
||||||
wlan-ng26-utils
|
|
||||||
zd1211-firmware
|
|
Loading…
Add table
Reference in a new issue