blob: 8e943a6f743449401c4e038348cf1044ebd8d0d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#!/bin/bash
# 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="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
|