Fix: ISO build omits long path files 71/20071/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 31 Aug 2016 20:57:38 +0000 (22:57 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 5 Sep 2016 12:35:12 +0000 (12:35 +0000)
make iso generates:
libisofs: WARNING : File "/ubuntu/pool/main/libj/\
libjs-twitter-bootstrap-datepicker/libjs-twitter-bootstrap-\
datepicker_1.3.1+dfsg1-1~u14.04+mos1_all.deb" can't be added
to Joliet tree, because its path length is larger than 240

At the end this package is missing in latest ISO.
NOTE: This issue is only triggered on certain kernels during build.

Closes-bug: FUEL-190

Change-Id: I21f7f1cbe3f64317d2feb66e371611a654cf30f8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
build/patch-repos/0040-xorriso-fails-to-add-files-with-path-longer-then-240.patch [new file with mode: 0644]

diff --git a/build/patch-repos/0040-xorriso-fails-to-add-files-with-path-longer-then-240.patch b/build/patch-repos/0040-xorriso-fails-to-add-files-with-path-longer-then-240.patch
new file mode 100644 (file)
index 0000000..7345230
--- /dev/null
@@ -0,0 +1,24 @@
+From: Artem Silenkov <asilenkov@mirantis.com>
+Date: Tue, 22 Sep 2015 21:54:44 +0300
+Subject: [PATCH] xorriso fails to add files with path longer then 240
+
+joliet-long option added to xorriso command line
+
+Change-Id: I97016cf3e6a554f44d839740ba7d210337435cdc
+Related-Bug: #1498619
+---
+ iso/module.mk | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/iso/module.mk b/iso/module.mk
+index 8995378..0073068 100644
+--- a/iso/module.mk
++++ b/iso/module.mk
+@@ -174,6 +174,7 @@ $(ISO_PATH): $(BUILD_DIR)/iso/isoroot.done
+               -V $(ISO_VOLUME_ID) -p $(ISO_VOLUME_PREP) \
+               -J -R \
+               -graft-points \
++              -joliet-long \
+               -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table \
+               -isohybrid-mbr /usr/lib/syslinux/isohdpfx.bin \
+               -eltorito-alt-boot -e images/efiboot.img -no-emul-boot \