Skip to content

Commit 0e6d5ae

Browse files
mudlersmudler
andauthored
Fixup cos-rebrand mount check (#531)
Signed-off-by: Ettore Di Giacinto <[email protected]> Co-authored-by: Ettore Di Giacinto <[email protected]>
1 parent 1bf3055 commit 0e6d5ae

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

packages/cos/collection.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
packages:
22
- name: "cos"
33
category: "system"
4-
version: 0.6.5+3
4+
version: 0.6.5+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.5+3
12+
version: 0.6.5+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.5+2"
20+
version: "0.6.5+4"
2121
brand_name: "cOS"
2222
description: "cOS container image, used to build cOS derivatives from scratch"
2323
labels:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
name: "cos-img"
22
category: "recovery"
3-
version: 0.6.5+3
3+
version: 0.6.5+4
44
brand_name: "cOS"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
name: "cos-squash"
22
category: "recovery"
3-
version: 0.6.5+3
3+
version: 0.6.5+4

packages/installer/definition.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
name: "installer"
22
category: "utils"
3-
version: "0.16"
3+
version: "0.16.1"

packages/installer/rebrand.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ rebrand_grub_menu() {
1212
STATEDIR=$(blkid -L COS_STATE)
1313
mkdir -p /run/boot
1414

15-
if ! is_mounted; then
15+
if ! is_mounted /run/boot; then
1616
mount $STATEDIR /run/boot
1717
fi
18+
1819
local grub_file=/run/boot/grub2/grub.cfg
1920

2021
if [ ! -e "$grub_file" ]; then

0 commit comments

Comments
 (0)