fix: base path and hold package

This commit is contained in:
2024-09-10 14:09:54 -07:00
parent 227c721385
commit 2eddbb0557
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ useradd --create-home -G sudo,video --shell /bin/bash rocm
EOF EOF
USER rocm USER rocm
WORKDIR /home/rocm WORKDIR /home/rocm
ENV PATH="${PATH}:/opt/rocm/bin" ENV PATH="${PATH}:/opt/rocm/bin:/home/rocm/.local/bin"
# Default to login shell # Default to login shell
CMD [ "bash", "-l" ] CMD [ "bash", "-l" ]
+1
View File
@@ -22,4 +22,5 @@ for PKG in "${PKGS[@]}"; do
OUT_NAME="${PKG}_${TARGET_VER}_amd64.deb" OUT_NAME="${PKG}_${TARGET_VER}_amd64.deb"
dpkg-deb -b $DIR $OUT_NAME dpkg-deb -b $DIR $OUT_NAME
dpkg -i $OUT_NAME dpkg -i $OUT_NAME
apt-mark hold ${PKG}
done done