Compare commits

..
3 Commits
Author SHA1 Message Date
wyj 4044a8e55e fix: apt update, so sources.list make work 2024-03-30 02:58:34 -04:00
wyj ad1fe22d1a fix: bash -c, so chroot has .bashrc PATH 2024-03-30 02:57:46 -04:00
wyj aa9b97dc4f updates: add +x 2024-03-30 02:35:49 -04:00
2 changed files with 3 additions and 1 deletions
Regular → Executable
+2
View File
@@ -1,3 +1,5 @@
apt-get update
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
hwclock --systohc
Regular → Executable
+1 -1
View File
@@ -19,6 +19,6 @@ echo "export PATH=$PATH:/sbin/" >>$TARGET/root/.bashrc
cp ./chroot-commands.sh $TARGET/root/
chmod +x $TARGET/root/chroot-commands.sh
chroot $TARGET /root/chroot-commands.sh
chroot $TARGET /bin/bash -l -c '/root/chroot-commands.sh'
echo "Done! Should be good to reboot now and run post-install scripts."