sry for being slow with this.
just to clarify,
so where one might normally add /bin/bash, one can replace it with a script?
like in my case the line:
Code:
chroot /mnt/$DISTRONAME /bin/bash
becomes
Code:
chroot /mnt/$DISTRONAME witchroot
witchroot being the script i had just generated.
does that seem right?
or would the ~ no, i'll simply ask that^ before i get any more confused.
...also... i wonder if there's a way (~sorry, perhaps veering somewhat off-topic with this~) to pass variables to the chrooted environment too. is there
?