summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-11-17 21:51:32 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-11-17 21:51:32 -0600
commit3f3d176e2d3960b9c18589e64af2fbe9de435f0d (patch)
treeb3da7478e5c8d9d13f38877a93ba704e9acace15 /boot
parent8801c9ccaeaab68174312cf025bce771e2ea77df (diff)
downloadhorizon-3f3d176e2d3960b9c18589e64af2fbe9de435f0d.tar.gz
horizon-3f3d176e2d3960b9c18589e64af2fbe9de435f0d.tar.bz2
horizon-3f3d176e2d3960b9c18589e64af2fbe9de435f0d.tar.xz
horizon-3f3d176e2d3960b9c18589e64af2fbe9de435f0d.zip
Executor: Only stack runlevels if runlevels exist
If we are doing a mini-rootfs or container installation, we may not have OpenRC at all. This would mean /etc/runlevels doesn't exist in the target. In that case, we crash with: boost::filesystem::directory_iterator::construct: No such file or directory [system:2]: "/tmp/horizon-image/target/etc/runlevels" Closes: #378 Fixes: a9ccd9bc7e ("hscript: Allow svcenable to create new runlevels")
Diffstat (limited to 'boot')
0 files changed, 0 insertions, 0 deletions