archboot/lib/initcpio/install/arch_pacman

50 lines
2.4 KiB
Text
Raw Normal View History

2007-02-22 23:46:50 +01:00
# Created by Tobias Powalowski <tpowa@archlinux.org>
install ()
{
MODULES=""
BINARIES="pacman cleanupdelta makepkg pacman-optimize pkgdelta rankmirrors repo-add repo-remove testdb testpkg vercmp"
2007-02-22 23:46:50 +01:00
FILES=""
2010-06-25 12:10:29 +02:00
SCRIPT=""
2007-02-22 23:46:50 +01:00
2008-10-20 22:39:25 +02:00
DEPENDS="initscripts wget bash coreutils cryptsetup dialog \
2007-02-22 23:46:50 +01:00
e2fsprogs findutils gawk grep iputils jfsutils less lvm2 mdadm module-init-tools nano \
ncurses net-tools gnu-netcat ntfsprogs pcmciautils procps psmisc reiserfsprogs sed snarf \
2011-02-22 14:33:53 +01:00
syslog-ng sysvinit tar util-linux which wireless_tools xfsprogs dnsutils hdparm memtest86+ \
2011-02-02 22:08:52 +01:00
inetutils openssh hwdetect shadow bridge-utils ifenslave cpufrequtils links tcp_wrappers \
2010-05-30 22:10:52 +02:00
dosfstools udev initscripts filesystem kernel26 glibc linux-api-headers xinetd links pacman \
2010-08-11 21:18:40 +02:00
pacman-mirrorlist screen kbd pam dhcpcd bzip2 gcc-libs openssl zlib elfutils gpm sysfsutils \
2011-02-05 22:26:39 +01:00
libgcrypt libgpg-error popt kexec-tools ppp libpcap rp-pppoe lilo iptables capi4k-utils \
2010-05-30 22:10:52 +02:00
ntfs-3g isdn4k-utils pciutils usbutils vpnc openvpn b43-fwcutter wpa_supplicant gzip rsync \
libarchive device-mapper cracklib nfs-utils nfsidmap readline acl attr pcre cpio archboot \
2010-12-07 21:50:12 +01:00
fuse libusb-compat vim vim-runtime lzo2 libsasl libldap libevent gpm sdparm pptpclient licenses \
2011-03-26 22:30:20 +01:00
ndiswrapper ndiswrapper-utils zd1211-firmware cifs-utils tiacx tiacx-firmware dmraid \
2010-05-30 22:10:52 +02:00
linux-atm netcfg parted tzdata ntp v86d iw crda wireless-regdb libnl iproute2 dhclient \
2010-06-02 20:48:56 +02:00
syslinux mtools perl gmp heimdal sqlite3 db dbus-core libcap fsarchiver xz librpcsecgss \
2011-03-27 14:30:50 +02:00
libtirpc wipe ddrescue testdisk clamav ifplugd libdaemon wpa_actiond rfkill libgssglue icu gptfdisk \
btrfs-progs-unstable nilfs-utils linux-firmware ipw2100-fw ipw2200-fw iana-etc chntpw libusb \
2011-03-13 11:15:06 +01:00
grub2-bios grub2-common grub2-efi-i386 grub2-efi-x86_64 efibootmgr file"
2007-02-22 23:46:50 +01:00
for i in $DEPENDS; do
2007-10-22 07:56:38 +02:00
for k in $(echo /var/lib/pacman/local/$i-[0-9]*-[0-9]*); do
add_file "$k/depends"
add_file "$k/files"
add_file "$k/desc"
done
2007-02-22 23:46:50 +01:00
done
add_dir "/var/log"
2008-12-06 19:12:19 +01:00
add_file "/usr/share/archboot/pacman/etc/pacman.conf" "/etc/pacman.conf"
2011-03-13 14:24:11 +01:00
[ "$(uname -m)" = "x86_64" ] && add_file "/usr/share/archboot/pacman/etc/makepkg.conf.x86_64" "/etc/makepkg.conf"
[ "$(uname -m)" = "i686" ] && add_file "/usr/share/archboot/pacman/etc/makepkg.conf.i686" "/etc/makepkg.conf"
add_file "/etc/bash_completion.d/pacman"
2008-12-06 19:12:19 +01:00
add_file "/usr/share/archboot/pacman/etc/pacman.d/mirrorlist" "/etc/pacman.d/mirrorlist"
2007-02-22 23:46:50 +01:00
}
help ()
{
cat<<HELPEOF
This hook includes the pacman on an arch boot image.
HELPEOF
2011-02-03 12:11:22 +01:00
}