diff options
Diffstat (limited to 'templates')
-rwxr-xr-x | templates/developers/jams/custom_chroot.sh | 11 | ||||
-rwxr-xr-x | templates/developers/jams/loginrun.sh | 2 | ||||
-rw-r--r-- | templates/enter_dev_chroot.sh | 3 |
3 files changed, 14 insertions, 2 deletions
diff --git a/templates/developers/jams/custom_chroot.sh b/templates/developers/jams/custom_chroot.sh new file mode 100755 index 0000000..75fe866 --- /dev/null +++ b/templates/developers/jams/custom_chroot.sh @@ -0,0 +1,11 @@ +#!/bin/bash +set -x +build_root="../../../../build_root" +#copy in the ssh keys +cp -rp /home/jams/.ssh $build_root.${1}/root +chown root.root $build_root.${1}/root/.ssh + +#copy in display +cp display.sh $build_root.${1}/etc/profile.d +#copy in .gtkrc +cp .gtkrc-2.0 $build_root.${1}/root
\ No newline at end of file diff --git a/templates/developers/jams/loginrun.sh b/templates/developers/jams/loginrun.sh index 5f936b0..dbd5d5c 100755 --- a/templates/developers/jams/loginrun.sh +++ b/templates/developers/jams/loginrun.sh @@ -1,4 +1,4 @@ #!/bin/bash thunar & -terminal +terminal & diff --git a/templates/enter_dev_chroot.sh b/templates/enter_dev_chroot.sh index 8f5eb40..1bf957b 100644 --- a/templates/enter_dev_chroot.sh +++ b/templates/enter_dev_chroot.sh @@ -66,6 +66,7 @@ fi [ -e $BROOT/dev/random ] || mknod $BROOT/dev/random c 1 8 [ -e $BROOT/dev/urandom ] || mknod $BROOT/dev/urandom c 1 9 [ -e $BROOT/dev/tty ] || mknod $BROOT/dev/tty c 5 0 +[ -e $BROOT/dev/ptmx ] || mknod $BROOT/dev/ptmx c 5 2 @@ -162,7 +163,7 @@ fi echo -e "\e]0;chroot-pkgbuild\a" #used for Konsole echo -e "\e]30;chroot-pkgbuild\a" -env -i /usr/sbin/chroot $BROOT /bin/bash --login +env -i TERM=$TERM /usr/sbin/chroot $BROOT /bin/bash --login |