add sysusers file

pull/6/head
artoo 2 years ago
parent 2635c0b842
commit 07a7c70994
  1. 7
      Makefile
  2. 12
      data/sysusers.conf

@ -8,6 +8,7 @@ PREFIX ?= /usr
BINDIR = $(PREFIX)/bin
LIBDIR = $(PREFIX)/lib
DATADIR = $(PREFIX)/share
SYSUSERSDIR = $(PREFIX)/lib/sysusers.d
FMODE = -m0644
DMODE = -dm0755
@ -47,6 +48,9 @@ XDG = $(wildcard data/*.desktop)
XBIN = bin/desktop-items
SYSUSERS = \
data/sysusers.conf
RM = rm -f
M4 = m4 -P
CHMODAW = chmod a-w
@ -72,6 +76,9 @@ install_base:
install $(DMODE) $(DESTDIR)$(BINDIR)
install $(BMODE) $(BIN) $(DESTDIR)$(BINDIR)
install $(DMODE) $(DESTDIR)$(SYSUSERSDIR)
install $(FMODE) $(SYSUSERS) $(DESTDIR)$(SYSUSERSDIR)/live-artix.conf
install $(DMODE) $(DESTDIR)$(DATADIR)/$(TOOLS)
install $(FMODE) $(SHARED) $(DESTDIR)$(DATADIR)/$(TOOLS)

@ -0,0 +1,12 @@
# artix live user
u artix 1000 - /home/artix /bin/bash
m artix video
m artix power
m artix cdrom
m artix network
m artix lp
m artix scanner
m artix wheel
m artix log
m artix users
Loading…
Cancel
Save