steamos_buildmach has to be run with --privileged because mkimage.sh tries to remount the proc filesystem after chrooting. We can build the fakechroot variant of SteamOS under fakeroot/fakechroot, but this eventually causes grief with systemd. Unfortunately minbase and fakechroot variants are mutually exclusive.
Would like to figure out a way to build the minbase variant as a normal user and without the --privileged flag -- without maintaining our own fork of /usr/share/debootstrap/scripts/stable.
steamos_buildmachhas to be run with--privilegedbecausemkimage.shtries to remount the proc filesystem after chrooting. We can build thefakechrootvariant of SteamOS under fakeroot/fakechroot, but this eventually causes grief withsystemd. Unfortunatelyminbaseandfakechrootvariants are mutually exclusive.Would like to figure out a way to build the
minbasevariant as a normal user and without the--privilegedflag -- without maintaining our own fork of/usr/share/debootstrap/scripts/stable.