Merge pull request #131 from noon92/osc

Use already fetched chroot script.
This commit is contained in:
Ruledo 2025-01-03 22:26:23 -08:00 • committed by GitHub
commit 15944ee9ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

4
environment-setup/foxbuntu-builder.sh Executable file → Normal file
View file

@ -200,7 +200,7 @@ modify_chroot() {
}
inject_chroot() {
chroot_script=${CHROOT_SCRIPT:-/home/${sudoer}/femtofox.chroot}
chroot_script=${CHROOT_SCRIPT:-/home/${sudoer}/femtofox/environment-setup/femtofox.chroot}
if [[ ! -f $chroot_script ]]; then
echo "Error: Chroot script $chroot_script not found."
exit 1
@ -250,7 +250,7 @@ install_rootfs() {
cp /home/${sudoer}/luckfox-pico/sysdrv/out/kernel_drv_ko/* /home/${sudoer}/luckfox-pico/sysdrv/out/rootfs_uclibc_rv1106/lib/modules/5.10.160/
which qemu-arm-static
chroot_script=${CHROOT_SCRIPT:-/home/${sudoer}/femtofox.chroot}
chroot_script=${CHROOT_SCRIPT:-/home/${sudoer}/femtofox/environment-setup/femtofox.chroot}
if [[ ! -f $chroot_script ]]; then
echo "Error: Chroot script $chroot_script not found."
exit 1