Skip to content

Commit b85ec62

Browse files
committed
fix install_common not running
1 parent 0a35a9f commit b85ec62

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
- name: Install dependencies and build image
7777
run: |
7878
chmod +x mount.sh
79-
./mount.sh ${{ matrix.base_image }} ${{ matrix.script}} ./install_common.sh
79+
./mount.sh ${{ matrix.base_image }} ${{ matrix.script}} install_common.sh
8080
8181
- name: Compress built image
8282
run: |

install_common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ echo "photon:vision" | chpasswd
2626

2727
# Add a helpful message to the logon screen
2828
# ASCII Art generated by: https://www.asciiart.eu/image-to-ascii
29-
cp -f ./files/issue.txt /etc/issue
29+
cp -f /files/issue.txt /etc/issue
3030
cp -f /etc/issue /etc/issue.net
3131
sed -i 's/#Banner none/Banner \/etc\/issue.net/g' /etc/ssh/sshd_config
3232

mount.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ sudo chroot rootfs /bin/bash -c "
226226
echo '=== Running ${scriptOne} ==='
227227
./tmp/build/${scriptOne}
228228
229-
if [ -f "${scriptTwo}" ]; then
229+
if [ -f "/tmp/build/${scriptTwo}" ]; then
230230
echo '=== Making second script executable ==='
231231
chmod +x /tmp/build/${scriptTwo}
232232
echo '=== Running ${scriptTwo} ==='

0 commit comments

Comments
 (0)