Unset trap before dracut ramdisk build script exits
A similar change was needed in the normal ramdisk element as part
of ae928057bd
to avoid running
cleanup immediately after the ramdisk build completes.
Change-Id: Ia96e2d8011b88ed96cc6727914c5a5d2dea59757
This commit is contained in:
parent
bb8126e887
commit
0db6b9b401
@ -61,3 +61,5 @@ dracut -N \
|
|||||||
|
|
||||||
cp "/boot/vmlinuz-${KERNEL_VERSION}" /tmp/kernel
|
cp "/boot/vmlinuz-${KERNEL_VERSION}" /tmp/kernel
|
||||||
chmod o+r /tmp/kernel
|
chmod o+r /tmp/kernel
|
||||||
|
# We don't want to run cleanup (set in mk_build_dir above) when this exits
|
||||||
|
trap EXIT
|
||||||
|
Loading…
Reference in New Issue
Block a user