Minor install issues
This commit is contained in:
parent
95419497e2
commit
15ea076efa
@ -8,7 +8,7 @@ compile:
|
|||||||
install:
|
install:
|
||||||
cp ./vimrc /etc/vimrc
|
cp ./vimrc /etc/vimrc
|
||||||
cp bash.bashrc /etc/bash.bashrc
|
cp bash.bashrc /etc/bash.bashrc
|
||||||
cp -r skel /etc/skel
|
rsync -avz -r skel/ /etc/skel
|
||||||
cp tmux.conf /etc/tmux.conf
|
cp tmux.conf /etc/tmux.conf
|
||||||
|
|
||||||
repository: shadowarch
|
repository: shadowarch
|
||||||
@ -29,6 +29,10 @@ reverse: ${HTTPROOT}/shadowarch ${SYNCLIST}
|
|||||||
cat ${HTTPROOT}/shadowarch > ./shadowarch
|
cat ${HTTPROOT}/shadowarch > ./shadowarch
|
||||||
for i in ${SYNCLIST}; do rsync -avz ${SYNCLIST} .; done
|
for i in ${SYNCLIST}; do rsync -avz ${SYNCLIST} .; done
|
||||||
|
|
||||||
|
diff: ${HTTPROOT}/shadowarch ${SYNCLIST}
|
||||||
|
diff ./shadowarch ${HTTPROOT}/shadowarch || [ 1 -eq 1 ]
|
||||||
|
for i in ${SYNCLIST}; do diff "${i}" ./`echo ${i} | rev | cut -f 1 -d '/' | rev` || [ 1 -eq 1 ]; done
|
||||||
|
|
||||||
find-missing-hooks-in-src:
|
find-missing-hooks-in-src:
|
||||||
@for i in `wget -q -O - https://aninix.net/foundation/ | grep toplevel-repo | cut -f 4 -d \'`; do if [ -z $$i ]; then continue; fi; for file in `find ../.. -type f -name Makefile | grep $$i`; do if [ -z "$$file" ]; then echo NO MAKEFILE FOR $$i; elif [ `grep -c -i 'hook for systemd' $$file` -eq 0 ]; then echo HOOK MISSING IN: $$file; else echo HOOK FOUND IN: $$file; fi; done; done
|
@for i in `wget -q -O - https://aninix.net/foundation/ | grep toplevel-repo | cut -f 4 -d \'`; do if [ -z $$i ]; then continue; fi; for file in `find ../.. -type f -name Makefile | grep $$i`; do if [ -z "$$file" ]; then echo NO MAKEFILE FOR $$i; elif [ `grep -c -i 'hook for systemd' $$file` -eq 0 ]; then echo HOOK MISSING IN: $$file; else echo HOOK FOUND IN: $$file; fi; done; done
|
||||||
@for i in `wget -q -O - https://aninix.net/foundation/ | grep toplevel-repo | cut -f 4 -d \'`; do if [ -z $$i ]; then continue; fi; for file in `find ../.. -type f -name Makefile | grep $$i`; do if [ -z "$$file" ]; then echo NO MAKEFILE FOR $$i; elif [ `grep -c useradd $$file` -eq 0 ]; then echo DEPRIV MISSING IN: $$file; else echo DEPRIV FOUND IN: $$file; fi; done; done
|
@for i in `wget -q -O - https://aninix.net/foundation/ | grep toplevel-repo | cut -f 4 -d \'`; do if [ -z $$i ]; then continue; fi; for file in `find ../.. -type f -name Makefile | grep $$i`; do if [ -z "$$file" ]; then echo NO MAKEFILE FOR $$i; elif [ `grep -c useradd $$file` -eq 0 ]; then echo DEPRIV MISSING IN: $$file; else echo DEPRIV FOUND IN: $$file; fi; done; done
|
||||||
|
@ -190,10 +190,8 @@ arch-chroot /mnt systemctl enable netctl
|
|||||||
arch-chroot /mnt netctl enable $interface
|
arch-chroot /mnt netctl enable $interface
|
||||||
|
|
||||||
# Vim cleanup for SSH
|
# Vim cleanup for SSH
|
||||||
mkdir -p /usr/share/vim/vimfiles/plugin
|
mkdir -p /mnt/usr/share/vim/vimfiles/plugin
|
||||||
printf 'set mouse-=a\n' > /usr/share/vim/vimfiles/plugin/shadowarch.vim
|
printf 'set mouse-=a\n' > /mnt/usr/share/vim/vimfiles/plugin/shadowarch.vim
|
||||||
|
|
||||||
ln -sf /etc/skel/.bashrc /mnt/root/.bashrc
|
|
||||||
|
|
||||||
# Clone ConfigPackags from AniNIX::Foundation
|
# Clone ConfigPackags from AniNIX::Foundation
|
||||||
arch-chroot /mnt git -C /usr/local/src/ clone https://aninix.net/foundation/ConfigPackages
|
arch-chroot /mnt git -C /usr/local/src/ clone https://aninix.net/foundation/ConfigPackages
|
||||||
|
Loading…
Reference in New Issue
Block a user