be8a7817dd
Setup buildroot filesystem overlay and move our custom scripts/configs into it. Setup a post-build script and have it delete files generated by buildroot that aren't in RescueOS v1.1. This gets us closer to a buildroot configuration that will automatically generate RescueOS images. For now, we're using RescueOS v1.1 as a reference.
9 rader
309 B
Bash
Executable File
9 rader
309 B
Bash
Executable File
#!/bin/sh
|
|
[ -d /mnt/maemo ] || mkdir /mnt/maemo/
|
|
if [ -e /run/maemo-root-mounted ] ; then
|
|
echo "A system script already mounted the rootfs of maemo to /mnt/maemo" ;
|
|
exit ;
|
|
fi
|
|
ubiattach /dev/ubi_ctrl -m 5
|
|
mount -t ubifs -o rw,bulk_read,no_chk_data_crc ubi0:rootfs /mnt/maemo && touch /run/maemo-root-mounted
|