When running inside a rootless Podman container on a SELinux-enabled host, the `patch` command fails because it cannot copy SELinux labels from the original file to the patched file. This only happens patching files that are located in a bind mount.
17 lines
287 B
Bash
Executable File
17 lines
287 B
Bash
Executable File
#!/bin/sh
|
|
# vim: set sw=4 ts=4 sts=4 et :
|
|
|
|
set -e
|
|
|
|
. ./config
|
|
|
|
./patch-uboot.sh
|
|
cd u-boot
|
|
cat configs/rpi_4_defconfig ../u-boot.config > configs/yellow_defconfig
|
|
make yellow_defconfig
|
|
CROSS_COMPILE=${target}- make
|
|
cd ..
|
|
|
|
mkdir -p output/efi-part
|
|
cp -au u-boot/u-boot.bin output/efi-part
|