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.
12 lines
191 B
Bash
Executable File
12 lines
191 B
Bash
Executable File
#!/bin/sh
|
|
ermsg()
|
|
{
|
|
echo "Couldn't unmount. Most likely your fault. Are you in /mnt/maemo?";
|
|
exit;
|
|
}
|
|
|
|
sync
|
|
umount /mnt/maemo || ermsg
|
|
ubidetach /dev/ubi_ctrl -d 0
|
|
rm /run/maemo-root-mounted
|