summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-02-12 21:57:12 +0100
committerDaniel Baumann <daniel@debian.org>2012-02-12 21:57:12 +0100
commit4ba46d7ee4569b12a2b29abf1cb1c3e5909dbef5 (patch)
tree36d2314447048d2a381ed910e2c4e572b755809b /debian
parentb7a0d88db0ca08ff28697b63ca24ba9e51dd65e2 (diff)
downloadvyos-live-build-4ba46d7ee4569b12a2b29abf1cb1c3e5909dbef5.tar.gz
vyos-live-build-4ba46d7ee4569b12a2b29abf1cb1c3e5909dbef5.zip
Adding a workaround in rules to stop dh_link converting absolute symlinks to relative symlinks for bootloader configs.
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/rules7
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 86430dfb3..2dc8bb60b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,3 +32,10 @@ override_dh_builddeb:
override_dh_installchangelogs:
dh_installchangelogs docs/ChangeLog
+
+override_dh_link:
+ dh_link
+
+ # workaround dh_link convertion of absolute symlinks to relvative symlinks
+ rm -rf debian/live-build/usr/share/live/build/bootloaders
+ cp -a share/bootloaders debian/live-build/usr/share/live/build/bootloaders