From 1ccbe860517465abe70d8b450fa6cae69ab4b691 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 3 Feb 2014 23:31:13 +0100 Subject: [PATCH] installer/mklive: make sure to install dcron rather than cronie. dcron is smaller and only has a libc dependency. cronie is selected because it appears alphabetically before in the repo index. --- installer.sh.in | 2 +- mklive.sh.in | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer.sh.in b/installer.sh.in index a283d2e..8eb0138 100644 --- a/installer.sh.in +++ b/installer.sh.in @@ -757,7 +757,7 @@ install_packages() { mkdir -p $TARGETDIR/var/db/xbps/keys cp /var/db/xbps/keys/*.plist $TARGETDIR/var/db/xbps/keys mkdir -p $TARGETDIR/boot/grub - stdbuf -oL xbps-install -r $TARGETDIR -Sy base-system ${_grub} 2>&1 | \ + stdbuf -oL xbps-install -r $TARGETDIR -Sy dcron base-system ${_grub} 2>&1 | \ DIALOG --title "Installing base system packages..." \ --programbox 24 80 if [ $? -ne 0 ]; then diff --git a/mklive.sh.in b/mklive.sh.in index 0a4e628..50ef39d 100644 --- a/mklive.sh.in +++ b/mklive.sh.in @@ -321,9 +321,9 @@ fi . $CONFIG_FILE if [ -z "$PACKAGE_LIST" ]; then - PACKAGE_LIST="base-system dialog" + PACKAGE_LIST="dcron base-system dialog" else - PACKAGE_LIST="base-system dialog $PACKAGE_LIST" + PACKAGE_LIST="dcron base-system dialog $PACKAGE_LIST" fi if [ ! -f $SYSLINUX_DATADIR/isolinux.bin ]; then echo "Missing required isolinux files in $SYSLINUX_DATADIR, exiting..."