mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-17 23:45:21 +01:00
embedded: Change how buildroot patch is applied
- Apply with p1, using a patch generated from git-format-patch. - Use POSIX 'cd' over 'pushd, popd' - Use OLDPWD to the find the patch, rather than making assumptions about the relative location of it.
This commit is contained in:
parent
725d651f96
commit
686ad14308
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ BUILDROOT_TAR=buildroot-2024.02.3.tar.gz
|
||||||
|
|
||||||
if [ ! -e "${BUILDROOT}" ]; then
|
if [ ! -e "${BUILDROOT}" ]; then
|
||||||
tar xvf "${BUILDROOT_TAR}"
|
tar xvf "${BUILDROOT_TAR}"
|
||||||
pushd ${BUILDROOT} && patch -p0 < buildroot-mesa3d.patch && popd
|
cd "${BUILDROOT}" && patch -p1 < "${OLDPWD}/buildroot-mesa3d.patch" && cd -
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e "${BUILDROOT}/.config" ]; then
|
if [ ! -e "${BUILDROOT}/.config" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue