diff --git a/stage4/04-pisdr-system/00-packages b/stage4/04-pisdr-system/00-packages index 60ca1ae..5020efa 100644 --- a/stage4/04-pisdr-system/00-packages +++ b/stage4/04-pisdr-system/00-packages @@ -1,6 +1,7 @@ vim tmux cmake +ninja-build build-essential git pkg-config diff --git a/stage4/04-pisdr-system/03-run.sh b/stage4/04-pisdr-system/03-run.sh index 946d0ed..f2d479c 100755 --- a/stage4/04-pisdr-system/03-run.sh +++ b/stage4/04-pisdr-system/03-run.sh @@ -1,6 +1,8 @@ #!/bin/bash -e +install -m 755 patch/export.txt "${ROOTFS_DIR}/etc/" + on_chroot << EOF -python3 -m pip install cmake -python3 -m pip install ninja +cat /etc/export.txt >> /home/${FIRST_USER_NAME}/.bashrc +source /home/${FIRST_USER_NAME}/.bashrc EOF diff --git a/stage4/04-pisdr-system/04-run.sh b/stage4/04-pisdr-system/04-run.sh deleted file mode 100755 index f2d479c..0000000 --- a/stage4/04-pisdr-system/04-run.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -e - -install -m 755 patch/export.txt "${ROOTFS_DIR}/etc/" - -on_chroot << EOF -cat /etc/export.txt >> /home/${FIRST_USER_NAME}/.bashrc -source /home/${FIRST_USER_NAME}/.bashrc -EOF