Message ID | 4f88138887963ae36f0c54258801d4d059b37132.1651693560.git.jan.kiszka@siemens.com (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | Fixes and improvements for SWUpdate images, kernel/config update | expand |
diff --git a/recipes-initramfs/initramfs-etc-overlay-hook/files/etc-overlay.script b/recipes-initramfs/initramfs-etc-overlay-hook/files/etc-overlay.script index a9a3663..6e5aacd 100644 --- a/recipes-initramfs/initramfs-etc-overlay-hook/files/etc-overlay.script +++ b/recipes-initramfs/initramfs-etc-overlay-hook/files/etc-overlay.script @@ -31,4 +31,6 @@ fi mkdir -p ${rootmnt}/var/local/etc mkdir -p ${rootmnt}/var/local/.atomic -mount -t overlay -o lowerdir=${rootmnt}/etc,upperdir=${rootmnt}/var/local/etc,workdir=${rootmnt}/var/local/.atomic overlay ${rootmnt}/etc +if ! mount -t overlay -o lowerdir=${rootmnt}/etc,upperdir=${rootmnt}/var/local/etc,workdir=${rootmnt}/var/local/.atomic overlay ${rootmnt}/etc; then + panic "Can't mount overlay!" +fi