| |
|
|
|
|
|
|
|
|
|
|
|
| |
policy-rc.d.
This has never really worked out well. The latest rendition is fine, except if
/usr/sbin/policy-rc.d doesn't exist, then it fails chroot. One could use the
"ignore_error chroot_maybe_add_mount" method, but this would cause different results
based on if the file exists or not, still.
Seth Arnold notes that one could bind mount everything from "$1/usr/sbin/" into
something like /dev/shm/installer/sbin/, then add policy-rc.d to /dev/shm/installer/sbin/,
and bindmount /dev/shm/installer/sbin/ back on top of "$1/usr/sbin/policy-rc.d".
|