mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
fix(bootengine): die if we have problems with the cpio
This commit is contained in:
parent
eafb53f45f
commit
6be50af767
@ -49,8 +49,8 @@ pkg_postinst() {
|
||||
# as we are not in src_install() insinto and doins do not work here, so
|
||||
# manually copy the file around
|
||||
cpio=${ROOT}/tmp/bootengine.cpio
|
||||
chmod 644 ${cpio}
|
||||
chmod 644 ${cpio} || die
|
||||
mkdir ${ROOT}/usr/share/bootengine/
|
||||
cp ${cpio} ${ROOT}/usr/share/bootengine/
|
||||
cp ${cpio} ${ROOT}/usr/share/bootengine/ || die
|
||||
rm ${cpio}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user