summaryrefslogtreecommitdiff
path: root/src/backend/commands_jail.sh
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-12 17:19:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-12 17:19:55 +0100
commita28652bb4a5baf7307f8d2f29bb765e18705cfb8 (patch)
tree265fdb1627ea65e033187b6577c5a801e22b29ba /src/backend/commands_jail.sh
parentd20b59f5b32fec29809795ac18b615cd0bac9798 (diff)
day 3 : split even more
Diffstat (limited to 'src/backend/commands_jail.sh')
-rw-r--r--src/backend/commands_jail.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/backend/commands_jail.sh b/src/backend/commands_jail.sh
new file mode 100644
index 0000000..fe5e82b
--- /dev/null
+++ b/src/backend/commands_jail.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"