We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eb1b8f commit 3c86702Copy full SHA for 3c86702
files/image_config/platform/rc.local
@@ -289,7 +289,7 @@ if [ -f $FIRST_BOOT_FILE ]; then
289
mv /etc/apt/sources.list /etc/apt/sources.list.rc-local
290
echo "deb [trusted=yes] file:///host/image-$SONIC_VERSION/platform/common /" > /etc/apt/sources.list.d/sonic_debian_extension.list
291
LANG=C DEBIAN_FRONTEND=noninteractive apt-get update
292
- LANG=C DEBIAN_FRONTEND=noninteractive apt-get -y install /host/image-$SONIC_VERSION/platform/$platform/*.deb
+ LANG=C DEBIAN_FRONTEND=noninteractive apt-get -o DPkg::Path=$PATH:/usr/local/bin -y install /host/image-$SONIC_VERSION/platform/$platform/*.deb
293
# Cleanup
294
rm -f /etc/apt/sources.list.d/sonic_debian_extension.list
295
rm -f /var/lib/apt/lists/_host_image-${SONIC_VERSION}_platform_common_Packages.lz4
0 commit comments