File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ IGROOT:pre-image.sh \
4444SRCROOT:pre-image.sh"
4545
4646 [post-image]=" \
47- DEVICE_ASSET:post-image.sh| IGROOT_device:post-image.sh \
48- IMAGE_ASSET:post-image.sh| IGROOT_image:post-image.sh \
47+ DEVICE_ASSET:post-image.sh IGROOT_device:post-image.sh \
48+ IMAGE_ASSET:post-image.sh IGROOT_image:post-image.sh \
4949IGROOT:post-image.sh \
5050SRCROOT:post-image.sh"
5151
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -eu
4+
5+ upd=" ${1} /update"
6+ rm -rf $upd
7+ mkdir -p $upd
8+
9+ [[ -f ${1} /system.sparse ]] || false
10+ [[ -f ${1} /boot.sparse ]] || false
11+
12+ ln -sf ../system.sparse ${upd} /system
13+ ln -sf ../boot.sparse ${upd} /boot
14+
15+ msg " Packing..."
16+ cd $upd && tar -I zstd -h -cf ${1} /update.tar.zst -- *
You can’t perform that action at this time.
0 commit comments