File tree Expand file tree Collapse file tree 5 files changed +12
-6
lines changed
Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 11packages :
22 - name : " cos"
33 category : " system"
4- version : 0.6.3+5
4+ version : " 0.6.4 "
55 description : " cOS base image, used to build cOS live ISOs"
66 brand_name : " cOS"
77 labels :
88 autobump.revdeps : " true"
99 autobump.revbump_related : " recovery/cos-img recovery/cos-squash"
1010 - name : " cos"
1111 category : " recovery"
12- version : 0.6.3+5
12+ version : " 0.6.4 "
1313 brand_name : " cOS recovery"
1414 description : " cOS recovery image, used to boot cOS for troubleshooting"
1515 labels :
1616 autobump.revdeps : " true"
1717 autobump.revbump_related : " recovery/cos-img recovery/cos-squash"
1818 - name : " cos-container"
1919 category : " system"
20- version : 0.6.3+5
20+ version : " 0.6.4 "
2121 brand_name : " cOS"
2222 description : " cOS container image, used to build cOS derivatives from scratch"
2323 labels :
Original file line number Diff line number Diff line change 11name : " cos-img"
22category : " recovery"
3- version : 0.6.3+5
3+ version : " 0.6.4 "
44brand_name : " cOS"
Original file line number Diff line number Diff line change 11name : " cos-squash"
22category : " recovery"
3- version : 0.6.3+5
3+ version : " 0.6.4 "
Original file line number Diff line number Diff line change 11name : " installer"
22category : " utils"
3- version : " 0.12 "
3+ version : " 0.13 "
Original file line number Diff line number Diff line change @@ -73,6 +73,10 @@ mount_state() {
7373 mount ${STATE} ${STATEDIR}
7474}
7575
76+ is_mounted () {
77+ mountpoint -q " $1 "
78+ }
79+
7680mount_image () {
7781 STATEDIR=/run/initramfs/cos-state
7882 TARGET=/tmp/upgrade
@@ -89,6 +93,8 @@ mount_image() {
8993 mount_state
9094 fi
9195
96+ is_mounted /usr/local || mount ${PERSISTENT} /usr/local
97+
9298 prepare_target
9399}
94100
You can’t perform that action at this time.
0 commit comments