Closed amanharitsh123 closed 6 years ago
In file sugarizer.sh you prefix almost everythinkg with ${R} (the root filesystem), but not your write to rc.firstboot; you may find you have added a line to your host system instead.
https://github.com/amanharitsh123/sugarizer-school-box/blob/dev/custom_scripts/sugarizer.sh#L5
${R} represents the root partition of the chroot system and {ETC_DIR} is /etc/ https://github.com/drtyhlpr/rpi23-gen-image/blob/master/rpi23-gen-image.sh#L92 I have confirmed that https://github.com/amanharitsh123/sugarizer-school-box/blob/dev/custom_scripts/sugarizer.sh#L5 places a line in /etc/rc.firstboot in the rpi image. But I dont know why the script.sh is not working.
@quozl @rishabh42 Please Review .
script.sh in custom_scripts doesnt work at the firstboot.