Also detect "fakeroot"

master
Georgi Georgiev 11 years ago committed by Georgi Georgiev
parent b60ba28d19
commit 00a83a5f57

@ -1001,7 +1001,7 @@ create_initramfs() {
append_data 'overlay' append_data 'overlay'
fi fi
if [[ $(id -u) == 0 ]]; then if [[ $(id -u) == 0 && -z ${FAKED_MODE:-} ]]; then
# keep this at the very end, generates /etc/ld.so.conf* and cache # keep this at the very end, generates /etc/ld.so.conf* and cache
append_data 'ld_so_conf' append_data 'ld_so_conf'
fi fi

Loading…
Cancel
Save