mirror of
https://github.com/optim-enterprises-bv/meta-openwrt.git
synced 2026-01-11 18:35:31 +00:00
procd: create symlinks in /sbin
procd and /etc/preinit have hardcoded pathes to binaries in /sbin. Create symlinks in /sbin to the binaries in /usr/sbin. Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
This commit is contained in:
committed by
Khem Raj
parent
d481aa24e7
commit
42f6fe8fa3
@@ -25,6 +25,11 @@ do_install_append() {
|
||||
install -Dm 0755 ${WORKDIR}/reload_config ${D}${base_sbindir}/reload_config
|
||||
install -Dm 0755 ${WORKDIR}/hotplug.json ${D}${sysconfdir}/hotplug.json
|
||||
install -Dm 0755 ${WORKDIR}/hotplug-preinit.json ${D}${sysconfdir}/hotplug-preinit.json
|
||||
|
||||
mkdir -p ${D}/sbin
|
||||
ln -s /usr/sbin/procd ${D}/sbin/procd
|
||||
ln -s /usr/sbin/init ${D}/sbin/init
|
||||
ln -s /usr/sbin/askfirst ${D}/sbin/askfirst
|
||||
}
|
||||
|
||||
FILES_${PN} += "${base_libdir}"
|
||||
|
||||
Reference in New Issue
Block a user