pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mksandbox change suggestion



Hi,
just wanted to make change suggestion in pkgtools/mksandbox/files/mksandbox ( if there is any pkgsrc dev on this mailing list )

On line 456 :

ENV=/etc/shrc chroot \$sandbox /tmp/\`basename \$script\`

Chage this to :

ENV=/etc/shrc HOST=`basename \$sandbox\` chroot \$sandbox /tmp/\`basename \$script\`

By doing this, the "sandbox" script will automatically change the PS1 variable to the sandbox name instead of the host name each time you chroot into a sandbox.


Home | Main Index | Thread Index | Old Index