diff options
Diffstat (limited to 'tools/ak2-core.sh')
-rwxr-xr-x | tools/ak2-core.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ak2-core.sh b/tools/ak2-core.sh index 48fee83..2d34cdd 100755 --- a/tools/ak2-core.sh +++ b/tools/ak2-core.sh @@ -102,7 +102,7 @@ unpack_ramdisk() { mkdir -p $ramdisk; chmod 755 $ramdisk; cd $ramdisk; - $unpackcmd -dc $split_img/boot.img-ramdisk.cpio.$compext | cpio -i -d; + $unpackcmd -dc $split_img/boot.img-ramdisk.cpio.$compext | EXTRACT_UNSAFE_SYMLINKS=1 cpio -i -d; if [ $? != 0 -o -z "$(ls $ramdisk)" ]; then ui_print " "; ui_print "Unpacking ramdisk failed. Aborting..."; exit 1; fi; |