Skip to content

Commit

Permalink
Create omi user/group on build system
Browse files Browse the repository at this point in the history
  • Loading branch information
palladia committed Jul 25, 2018
1 parent 41286b9 commit 4ff8c33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Unix/installbuilder/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,8 @@ ifneq ($(PF),Darwin)
endif # ifeq ($(BUILD_RPM),1)
ifeq ($(BUILD_DPKG),1)
egrep -q "^omiusers:" /etc/group; if [ $$? -ne 0 ]; then echo "Creating omiusers group ..."; sudo /usr/sbin/groupadd -r omiusers; fi
egrep -q "^omi:" /etc/group; if [ $$? -ne 0 ]; then echo "Creating omi group ..."; sudo groupadd -r omi; fi
egrep -q "^omi:" /etc/passwd; if [ $$? -ne 0 ]; then echo "Creating omi user ..."; sudo useradd -g omi -s /bin/false -r omi; fi

@echo "========================= Make OMI installer DPKG with symbols"
sudo rm -rf $(OUTPUTDIR)/intermediate/staging
Expand Down

0 comments on commit 4ff8c33

Please sign in to comment.