Fix path variables in stx scripts to use bindir vs local/bin
This commit is contained in:
parent
55dad912f1
commit
d32d11eb8e
@ -25,6 +25,18 @@ stx_postprocess_rootfs() {
|
|||||||
|
|
||||||
echo 'sysadmin ALL=(ALL) NOPASSWD:ALL' >> ${IMAGE_ROOTFS}/etc/sudoers
|
echo 'sysadmin ALL=(ALL) NOPASSWD:ALL' >> ${IMAGE_ROOTFS}/etc/sudoers
|
||||||
|
|
||||||
|
CPWD=$(pwd)
|
||||||
|
cd ${IMAGE_ROOTFS}/etc/rc.d/init.d
|
||||||
|
for srv in $(echo hbsAgent runservices mtclog mtcalarm mtcClient \
|
||||||
|
pmon hwmon hostw lmon guestAgent guestServer fm-api \
|
||||||
|
)
|
||||||
|
do
|
||||||
|
rm -f $srv
|
||||||
|
ln -s /etc/init.d/$srv .
|
||||||
|
sed -i -e 's:^DAEMON="/usr/local/bin:DAEMON="/usr/bin:g' ../../init.d/$srv
|
||||||
|
done
|
||||||
|
cd $CPWD
|
||||||
|
|
||||||
cat > ${IMAGE_ROOTFS}/etc/build.info << \EOF
|
cat > ${IMAGE_ROOTFS}/etc/build.info << \EOF
|
||||||
OS="poky"
|
OS="poky"
|
||||||
SW_VERSION="19.01"
|
SW_VERSION="19.01"
|
||||||
|
Loading…
Reference in New Issue
Block a user