We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e0ec159 + ad342ba commit f720c91Copy full SHA for f720c91
scripts/gen-ptool.sh
@@ -59,8 +59,12 @@ partition_map="${partition_map},efi=${esp}"
59
partition_map="${partition_map},rootfs=${rootfs}"
60
61
# create symlinks from flat image to actual file
62
-ln -s "../${esp}" "$esp"
63
-ln -s "../${rootfs}" "$rootfs"
+if [ -n "$esp" ]; then
+ ln -s "../${esp}" "$esp"
64
+fi
65
+if [ -n "$rootfs" ]; then
66
+ ln -s "../${rootfs}" "$rootfs"
67
68
69
# generate ptool-partitions.xml from partitions.conf
70
"${QCOM_PTOOL}/gen_partition.py" -i "${PARTITIONS_CONF}" \
0 commit comments