Packages
nerves_system_osd32mp1
0.7.2
0.25.0
0.24.5
0.24.4
0.24.3
0.24.2
0.24.1
0.24.0
0.23.0
0.22.3
0.22.2
0.22.1
0.22.0
0.21.1
0.21.0
0.20.1
0.20.0
0.19.1
0.19.0
0.18.1
0.18.0
0.17.0
0.16.1
0.16.0
0.15.1
0.15.0
0.14.2
0.14.1
0.14.0
0.13.2
0.13.1
0.13.0
0.12.2
0.12.1
0.12.0
0.11.2
0.11.1
0.11.0
0.10.0
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.3
0.8.2
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
0.6.1
0.6.0
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
Nerves System - OSD32MP1
Current section
Files
Jump to
Current section
Files
nerves_system_osd32mp1
post-build.sh
post-build.sh
#!/bin/sh
set -e
# Create the revert script for manually switching back to the previously
# active firmware.
mkdir -p $TARGET_DIR/usr/share/fwup
$HOST_DIR/usr/bin/fwup -c -f $NERVES_DEFCONFIG_DIR/fwup-revert.conf -o $TARGET_DIR/usr/share/fwup/revert.fw
# Copy the fwup includes to the images dir
cp -rf $NERVES_DEFCONFIG_DIR/fwup_include $BINARIES_DIR
cp $NERVES_DEFCONFIG_DIR/extlinux.conf $BINARIES_DIR
# store the Linux kernel in the FAT filesystem instead of /boot. Everything
# else can go in /boot since it's so small. See the fwup.conf for how the zImage
# is put in the FAT filesystem. Remove zImage from /boot since we can't
# tell Buildroot to just put the .dtb files there.
rm -f $TARGET_DIR/boot/zImage