This commit is contained in:
simono41 2018-07-17 19:29:59 +02:00
parent 9c2ad735e9
commit 6989a2b69f

View file

@ -204,9 +204,9 @@ function cron() {
echo "cron-job snapshot"
mkdir -p ${mountpoint}/var/spool/cron/
if [ "y" == "${windualboot}" ]; then
echo -n "0 18 * * * /usr/bin/snapshot make ROOT home opt var/cache/pacman/pkg " > ${mountpoint}/var/spool/cron/root
echo -n "0 18 * * * /usr/bin/snapshot make ROOT home opt var/cache/pacman/pkg " > ${mountpoint}/var/spool/cron/root
else
echo -n "0 18 * * * /usr/bin/snapshot makeboot ROOT home opt var/cache/pacman/pkg " > ${mountpoint}/var/spool/cron/root
echo -n "0 18 * * * /usr/bin/snapshot makeboot ROOT home opt var/cache/pacman/pkg " > ${mountpoint}/var/spool/cron/root
fi
# custom-mounts
@ -1167,11 +1167,11 @@ then
#if [ "y" == "${windualboot}" ]; then
# mkinitcpio -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
#else
if [ "${version}" == "libre" ]; then
arch-chroot ${mountpoint} mkinitcpio -p linux-libre
else
arch-chroot ${mountpoint} mkinitcpio -P -c /etc/mkinitcpio.conf
fi
if [ "${version}" == "libre" ]; then
arch-chroot ${mountpoint} mkinitcpio -p linux-libre
else
arch-chroot ${mountpoint} mkinitcpio -P -c /etc/mkinitcpio.conf
fi
#fi
echo ""
if [ "${boot}" == "grub" ]
@ -1205,11 +1205,11 @@ elif [ "${Partition}" == "bios" ]; then
#if [ "y" == "${windualboot}" ]; then
# mkinitcpio -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
#else
if [ "${version}" == "libre" ]; then
arch-chroot ${mountpoint} mkinitcpio -p linux-libre
else
arch-chroot ${mountpoint} mkinitcpio -P linux -c /etc/mkinitcpio.conf
fi
if [ "${version}" == "libre" ]; then
arch-chroot ${mountpoint} mkinitcpio -p linux-libre
else
arch-chroot ${mountpoint} mkinitcpio -P linux -c /etc/mkinitcpio.conf
fi
#fi
echo ""
arch-chroot ${mountpoint} grub-install --target=i386-pc --recheck ${device}