diff options
author | William Harrington <kb0iic@berzerkula.org> | 2021-03-29 20:43:11 -0500 |
---|---|---|
committer | William Harrington <kb0iic@berzerkula.org> | 2021-03-29 20:43:11 -0500 |
commit | 24ae50590b533a53cbc254854ec7159c5e02c804 (patch) | |
tree | 6162cd79e672e999a1e74409a31247a064c30ecb /lfs.sh | |
parent | ebc7e4f32d27e0d3bb82d42db5d20f768948289f (diff) |
Add TESTUSERID when chrooting and use 'id -u' commnd to get user id. Use when adding tester user to passwd.
Diffstat (limited to 'lfs.sh')
-rwxr-xr-x | lfs.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -116,6 +116,7 @@ sudo chroot "${LFS}" /usr/bin/env \ PATH=/bin:/usr/bin:/sbin:/usr/sbin \ NUMPROCS="${NUMPROCS}" \ MAKEFLAGS="${MAKEFLAGS}" \ + TESTERUID="$(id -u)" \ /bin/bash --login +h -c "/sources/insidechroot.sh 7" retval=$? @@ -147,6 +148,7 @@ sudo chroot "${LFS}" /usr/bin/env \ PATH=/bin:/usr/bin:/sbin:/usr/sbin \ NUMPROCS="${NUMPROCS}" \ MAKEFLAGS="${MAKEFLAGS}" \ + TESTERUID="$(id -u)" \ /bin/bash --login +h -c "/sources/insidechroot.sh 8" printf "%b" "${CYN}EXITED ${RED}CHROOT${RST} ENVIRONMENT...${RST}\n" |