Skip to content

Commit a89a8d6

Browse files
authored
Merge pull request #1 from gitbarnabedikartola/main
disable service and simplified post_upgrade
2 parents 2043da3 + 9b366a1 commit a89a8d6

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.github/workflows/build-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
push:
88
#branches: [ "master", "main", "*" ]
99
branches: [ "*" ]
10-
pull_request:
10+
# pull_request:
1111
#branches: [ "master", "main", "*" ]
12-
branches: [ "*" ]
12+
# branches: [ "*" ]
1313

1414
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1515
jobs:

pkgbuild/biglinux-docker-config.install

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,10 @@ post_install() {
99
}
1010

1111
post_upgrade() {
12-
if ! getent group docker > /dev/null; then
13-
groupadd docker
14-
fi
15-
for user in $(awk -F':' '{ if ($3 >= 1000 && $1 != "nobody") print $1 }' /etc/passwd); do
16-
usermod -aG docker "$user"
17-
done
18-
systemctl enable --now docker.service
19-
}
12+
post_install
2013

2114
post_remove() {
15+
systemctl disable docker.service
2216
if getent group docker > /dev/null; then
2317
groupdel docker
2418
fi

0 commit comments

Comments
 (0)