]> xenbits.xensource.com Git - people/wipawel/livepatch-build-tools/commitdiff
Update format of .xsplice.depends section
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Mon, 9 May 2016 09:08:02 +0000 (10:08 +0100)
committerRoss Lagerwall <ross.lagerwall@citrix.com>
Mon, 9 May 2016 09:08:02 +0000 (10:08 +0100)
.xsplice.depends is expected to contain an ELF note, not a plain binary
checksum.

xsplice-build

index a67ebc07af08382611fc0e1d4b0a71473f2a4fd8..35b9aaeb41cbebeca58383536f159c244377187b 100755 (executable)
@@ -140,7 +140,7 @@ function create_patch()
     # Create a dependency section
     > depends.bin
     if [ -n "$DEPENDS" ]; then
-        perl -e "print pack 'H*', '${DEPENDS}'" >> depends.bin
+        perl -e "print pack 'VVVZ*H*', 4, 20, 3, 'GNU', '${DEPENDS}'" >> depends.bin
     fi
 
     echo "Creating patch module..."