From 5ebe15d1c7588ac5784a874d68cdb556bff776a6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 23 Dec 2018 17:28:30 +0000 Subject: this actually causes more trouble + will implement a bootstrap option in sisyphus --- src/backend/c_jail.sh | 3 +-- src/backend/f_makepkg.sh | 5 ----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/backend/c_jail.sh b/src/backend/c_jail.sh index 945c964..0f751ff 100644 --- a/src/backend/c_jail.sh +++ b/src/backend/c_jail.sh @@ -3,8 +3,7 @@ export local jailsetupcmd="vasile --setup" export local jaildkmscmd="vasile --dkms" export local jailmandbcmd="mandb --create" -export local jailportagecmd="emerge -kav "$jailtarget"" -export local jailupgradecmd="emerge -NuDKv --backtrack=100 --with-bdeps=y @world --exclude linux-image-lts --exclude linux-headers-lts --exclude linux-image-redcore --exclude linux-sources-redcore" +export local jailportagecmd="emerge -Kav "$jailtarget"" export local jaildracutcmd="dracut -N -a dmsquash-live -a pollcdrom --force --kver="$kernver" /boot/"$jailramfsname"" export local jailmkchainloadercmd="grub2-mkimage -d /usr/lib64/grub/i386-pc -o core.img -O i386-pc biosdisk part_msdos fat -p /boot/grub" export local jailmkx64eficmd="grub2-mkimage -d /usr/lib64/grub/x86_64-efi -o bootx64.efi -O x86_64-efi ext2 fat udf btrfs ntfs reiserfs xfs hfsplus lvm ata part_msdos part_gpt part_apple bsd search_fs_uuid normal chain iso9660 configfile help loadenv reboot cat search memdisk tar boot linux chain -p /boot/grub" diff --git a/src/backend/f_makepkg.sh b/src/backend/f_makepkg.sh index 0ee8147..5111c41 100644 --- a/src/backend/f_makepkg.sh +++ b/src/backend/f_makepkg.sh @@ -48,10 +48,6 @@ jailpkgsetup () { chroot "$overlaypath" su - "$jailuser" -c "$jailsetupcmd" } -jailpkgupgrade () { - chroot "$overlaypath" su - "$jailuser" -c "$jailupgradecmd" -} - jailpkgbuild () { chroot "$overlaypath" su - "$jailuser" -c "$jailportagecmd" } @@ -66,7 +62,6 @@ makepkg () { checkjailsum jailpkgprep jailpkgsetup - jailpkgupgrade jailpkgbuild jailpkgstart jailpkgdmnt -- cgit v1.2.3