Compare commits

..

3 Commits

2 changed files with 3 additions and 1 deletions

2
chroot-commands.sh Normal file → Executable file
View File

@ -1,3 +1,5 @@
apt-get update
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
hwclock --systohc hwclock --systohc

2
install.sh Normal file → Executable file
View File

@ -19,6 +19,6 @@ echo "export PATH=$PATH:/sbin/" >>$TARGET/root/.bashrc
cp ./chroot-commands.sh $TARGET/root/ cp ./chroot-commands.sh $TARGET/root/
chmod +x $TARGET/root/chroot-commands.sh 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." echo "Done! Should be good to reboot now and run post-install scripts."