mkdir -p "$PWD/root"
# Install base config
-LC_ALL=C urpmi --downloader=wget --no-verify-rpm --no-recommends --noclean --auto --root=$PWD/root filesystem basesystem-minimal rpm urpmi grub kernel-server-latest vim-enhanced wget
+LC_ALL=C urpmi --downloader=wget --no-verify-rpm --no-recommends --noclean --auto --root=$PWD/root filesystem basesystem-minimal rpm urpmi grub2 grub2-mageia-theme kernel-server-latest vim-enhanced wget lockdev
# Reinstall lockdev to fix missing lock group on binary
LC_ALL=C urpmi --downloader=wget --no-verify-rpm --no-recommends --noclean --auto --replacepkgs --replacefiles --root=$PWD/root lockdev
# Install remaining
+# --skip lib64gdbm4
LC_ALL=C urpmi --downloader=wget --no-verify-rpm --no-recommends --noclean --auto --root=$PWD/root \
acl \
acpi \
acpid \
bash-completion \
+ bc \
bind \
bind-utils \
binutils \
cryptsetup \
deltarpm \
dhcp-client \
+ dmsetup \
dosfstools \
gdb \
gdisk \
- mageia-gfxboot-theme \
git \
git-prompt \
git-svn \
gnupg \
gnupg2 \
+ groff \
+ hddtemp \
hdparm \
info \
kernel-firmware \
lsof \
luit \
lynx \
+ mageia-gfxboot-theme \
man \
man-pages \
mdadm \
microcode \
mirrordir \
- mlocate \
+ plocate \
msec \
nail \
ntfs-3g \
postfix \
rsnapshot \
rsync \
- sectool \
+ screen \
shorewall \
shorewall-ipv6 \
smartmontools \
xfsprogs \
zip
+#XXX: to avoid boot time warning
+# drakx-kbd-mouse-x11 \
+# polkit-agent-none \
+
# Install locale
if [ ! -z "$LOCALE_ALT" -a "$LOCALE_ALT" != 'en' ]; then
LC_ALL=C urpmi --downloader=wget --no-verify-rpm --no-recommends --noclean --auto --root=$PWD/root \
fi
# Install ihttpd
-LC_ALL=C urpmi --no-verify-rpm --no-recommends --noclean --auto --root=$PWD/root ${IHTTPD_RPM}
+if [ ! -z "${IHTTPD_RPM}" -a -f "${IHTTPD_RPM}" ]; then
+ LC_ALL=C urpmi --no-verify-rpm --no-recommends --noclean --auto --root=$PWD/root ${IHTTPD_RPM}
+fi