Mainly just moved configs to new CONFIG directory format

This commit is contained in:
2018-07-28 15:07:41 -05:00
parent 15d00b75ee
commit 4a184e88bf
10 changed files with 4 additions and 33 deletions

View File

@@ -1,4 +1,4 @@
install: base usr etc var lib snap
install: base usr etc var lib
base:
@install -v -d -m 0755 -o root -g root \
@@ -31,16 +31,6 @@ lib: usr
@ln -sv lib $(DESTDIR)/lib64 && \
ln -sv lib $(DESTDIR)/usr/lib64
snap: usr
install -v -d -m 0755 $(DESTDIR)/usr/share/snap-base && \
install -v -m 0644 bashrc $(DESTDIR)/usr/share/snap-base/bashrc && \
install -v -m 0644 group $(DESTDIR)/usr/share/snap-base/group && \
install -v -m 0644 passwd $(DESTDIR)/usr/share/snap-base/passwd && \
install -v -m 0644 profile $(DESTDIR)/usr/share/snap-base/profile && \
install -v -m 0644 snap.conf \
$(DESTDIR)/usr/share/snap-base/snap.conf && \
install -v -m 0644 snap_version $(DESTDIR)/etc/snap_version
usr: base
@install -v -d -m 0755 -o root -g root \
$(DESTDIR)/usr/bin \

View File

@@ -1,18 +0,0 @@
# Setup for /bin/ls and /bin/grep to support color
if [ -f "/etc/dircolors" ] ; then
eval $(dircolors -b /etc/dircolors)
fi
if [ -f "$HOME/.dircolors" ] ; then
eval $(dircolors -b $HOME/.dircolors)
fi
# Prompt
if [ "`id -u`" -eq 0 ]; then
export PS1='\u@\h:\w# '
else
export PS1='\u@\h:\w$ '
fi
alias ls='ls --color=auto'
alias grep='grep --color=auto'

View File

@@ -1,22 +0,0 @@
root:x:0:
bin:x:1:daemon
sys:x:2:
kmem:x:3:
tape:x:4:
tty:x:5:
daemon:x:6:
floppy:x:7:
disk:x:8:
lp:x:9:
dialout:x:10:
audio:x:11:
video:x:12:
utmp:x:13:
usb:x:14:
cdrom:x:15:
adm:x:16:
messagebus:x:18:
input:x:24:
mail:x:34:
nogroup:x:99:
users:x:100:

View File

@@ -1,5 +0,0 @@
root:x:0:0:root:/root:/bin/sh
bin:x:1:1:bin:/dev/null:/bin/false
daemon:x:6:6:Daemon User:/dev/null:/bin/false
messagebus:x:18:18:D-Bus Message Daemon User:/var/run/dbus:/bin/false
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false

View File

@@ -1,25 +0,0 @@
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
alias reset='echo -e "\033c"'
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin"
fi
export PATH
if [ "$PS1" ]; then
if [ "$BASH" ] && [ "$BASH" != "/bin/sh" ]; then
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi

View File

@@ -1,7 +0,0 @@
[sources]
default = http://packages.snaplinux.org/ core dev main
[snapinstall]
templatedir = /etc/snap.d/templates
include /etc/snap.d

View File

@@ -1 +0,0 @@
0.0alpha1