diff options
author | Maximilian Mehnert <maximilian.mehnert@gmx.de> | 2015-07-15 16:29:46 +0200 |
---|---|---|
committer | Maximilian Mehnert <maximilian.mehnert@gmx.de> | 2015-09-23 10:44:11 +0200 |
commit | 8a52e569f50138eb8fd3526fb62058d54c7c8522 (patch) | |
tree | 2134f65bd6945ce2642cdc41ebeb71d4b11f014f /scripts/build/chroot_dpkg | |
parent | b6771e736022d31b0cb53c552a0f7a42a1028a09 (diff) | |
download | vyos-live-build-8a52e569f50138eb8fd3526fb62058d54c7c8522.tar.gz vyos-live-build-8a52e569f50138eb8fd3526fb62058d54c7c8522.zip |
force link creation when diverting flash-kernel
"ln -s /bin/true chroot/usr/sbin/flash-kernel" fails if the target
already exists.
Diffstat (limited to 'scripts/build/chroot_dpkg')
-rwxr-xr-x | scripts/build/chroot_dpkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/chroot_dpkg b/scripts/build/chroot_dpkg index 7007e0569..b02dc648f 100755 --- a/scripts/build/chroot_dpkg +++ b/scripts/build/chroot_dpkg @@ -64,7 +64,7 @@ EOF # flash-kernel Chroot chroot dpkg-divert --rename --quiet --add /usr/sbin/flash-kernel - ln -s /bin/true chroot/usr/sbin/flash-kernel + ln -fs /bin/true chroot/usr/sbin/flash-kernel # Creating stage file Create_stagefile .build/chroot_dpkg |