diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2017-06-03 00:43:27 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2019-06-29 11:45:24 -0400 |
commit | c70ca9643de3a8120bae834c452e95d13a1a810d (patch) | |
tree | 0876f07726ebfc12d8c8519540941dab320904fc /mk | |
parent | 956313b21cad8f76fc3be1c0c9d31b1bc0ac9379 (diff) |
add pacstrap module
Diffstat (limited to 'mk')
-rwxr-xr-x | mk | 31 |
1 files changed, 25 insertions, 6 deletions
@@ -1,14 +1,33 @@ #!/bin/bash -[ -d build ] || mkdir build +# sudo pacman -S arch-install-scripts + + +if [ ! -d build ] +then mkdir build +else rm build/Makefile > /dev/null +fi +# if [ ! -d /etc/calamares/ ] +# then sudo mkdir /etc/calamares +# sudo ln -s `pwd`/settings.conf /etc/calamares/ +# sudo ln -s `pwd`/src/branding /etc/calamares/ +# fi + + cd build -cmake -DCMAKE_BUILD_TYPE=Debug \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DSKIP_MODULES="interactiveterminal webview" .. -[ -f Makefile ] && make -sudo make uninstall ; sudo make install +cmake -DCMAKE_BUILD_TYPE=Debug \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DSKIP_MODULES="dracut dracutlukscfg dummycpp dummyprocess dummypython \ + dummypythonqt grubcfg initramfs initramfscfg \ + interactiveterminal license luksbootkeyfile \ + luksopenswaphookcfg plymouthcfg removeuser webview" .. +[ -f Makefile ] && make ; (($?)) && cd .. && exit +#sudo make uninstall +sudo make install cd .. + [ "`lsmod | grep squashfs`" ] || sudo modprobe squashfs [ -f /usr/bin/calamares ] && sudo calamares +# [ -f build/calamares ] && sudo build/calamares |