Fix stale genapkovl in /var/tmp shadowing ~/.mkimage version
mkimage checks CWD (/var/tmp) before ~/.mkimage/ for genapkovl scripts. Old genapkovl-bee.sh left in /var/tmp from previous builds was overriding the updated version, causing bee-audit-debug to persist in runlevel. Also add gcompat to apk world so it's installed at boot (was in apks cache but missing from world file, so nvidia-smi failed with missing ld-linux). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -192,7 +192,9 @@ fi
|
|||||||
|
|
||||||
# Run from /var/tmp: mkimage.sh calls git internally; running from inside /root/bee causes
|
# Run from /var/tmp: mkimage.sh calls git internally; running from inside /root/bee causes
|
||||||
# "outside repository" errors. /var/tmp is outside the git repo and has enough scratch space.
|
# "outside repository" errors. /var/tmp is outside the git repo and has enough scratch space.
|
||||||
# genapkovl-bee.sh is found by mkimage via ~/.mkimage/ — no need to copy it to /var/tmp.
|
# genapkovl-bee.sh is found by mkimage via ~/.mkimage/.
|
||||||
|
# Remove any stale genapkovl from /var/tmp — mkimage checks CWD first, stale files override ~/.mkimage/.
|
||||||
|
rm -f /var/tmp/genapkovl-*.sh
|
||||||
export TMPDIR=/var/tmp
|
export TMPDIR=/var/tmp
|
||||||
cd /var/tmp
|
cd /var/tmp
|
||||||
sh /usr/share/aports/scripts/mkimage.sh \
|
sh /usr/share/aports/scripts/mkimage.sh \
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ file
|
|||||||
less
|
less
|
||||||
vim
|
vim
|
||||||
dialog
|
dialog
|
||||||
|
gcompat
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
rc_add devfs sysinit
|
rc_add devfs sysinit
|
||||||
|
|||||||
Reference in New Issue
Block a user