Auto remove post_ota.sh

This commit is contained in:
topjohnwu 2019-04-24 01:59:47 -04:00
parent 003e44fb84
commit 54d1207f92

View File

@ -77,6 +77,7 @@ post_ota() {
cat << EOF > post-fs-data.d/post_ota.sh
${1}/bootctl mark-boot-successful
rm -f ${1}/bootctl
rm -f ${1}/post-fs-data.d/post_ota.sh
EOF
chmod 755 post-fs-data.d/post_ota.sh
cd /