summaryrefslogtreecommitdiff
path: root/src/backend/jailcmds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/jailcmds.sh')
-rw-r--r--src/backend/jailcmds.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/backend/jailcmds.sh b/src/backend/jailcmds.sh
new file mode 100644
index 0000000..fe5e82b
--- /dev/null
+++ b/src/backend/jailcmds.sh
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+export local jailbinmodecmd="vasile --binmode"
+export local jailsrcmodecmd="vasile --srcmode"
+export local jaildkmscmd="vasile --dkms"
+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"
+export local jailmkia32eficmd="grub2-mkimage -d /usr/lib64/grub/i386-efi -o bootia32.efi -O i386-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"