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 \
cryptsetup \
deltarpm \
dhcp-client \
+ dmsetup \
dosfstools \
gdb \
gdisk \
mdadm \
microcode \
mirrordir \
- mlocate \
+ plocate \
msec \
nail \
ntfs-3g \
rsnapshot \
rsync \
screen \
- sectool \
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