# HG changeset patch # User Christopher Rogers # Date 1305120432 0 # Node ID 8b4268fe804836c51adb23264081d1ea3d54058c # Parent 905f35e75c3ac5fac8d687d8551992872a271c71 Update tazbb script. Now you can execute a command in chroot. Need full path for this to work. diff -r 905f35e75c3a -r 8b4268fe8048 initramfs/usr/bin/tazbb --- a/initramfs/usr/bin/tazbb Sun May 08 17:28:23 2011 +0000 +++ b/initramfs/usr/bin/tazbb Wed May 11 13:27:12 2011 +0000 @@ -22,8 +22,9 @@ [ -d $chroot_dir ] || create_chroot -mount_chroot -chroot $LOCAL_REPOSITORY/chroot /usr/bin/tank-bot -#chroot $LOCAL_REPOSITORY/chroot tazwok cook bash -umount_chroot +if [ -x $LOCAL_REPOSITORY/chroot/$1 ]; then + mount_chroot + chroot $LOCAL_REPOSITORY/chroot $1 + umount_chroot +fi