https://kisslinux.org/install
##download latest tarball
find latest from
https://github.com/kisslinux/repo/releases
#dnload using curl
ver=2021.7-9
url=https://github.com/kisslinux/repo/releases/download/$ver
file=kiss-chroot-$ver.tar.xz
curl -fLO "$url/$file"
##mount root partition to install to /mnt
mkfs.ext4 /dev/nvme0n1p1
mount /dev/nvme0n1p1 /mnt
cd /mnt
tar xvf "$OLDPWD/$file"
or
sudo tar -xvf ~/Downloads/kiss-chroot-2021.7-9.tar.xz
/mnt/bin/kiss-chroot /mnt
## inside chroot
passwd root
adduser kai
su kai
cd
git clone https://github.com/kisslinux/repo
##setup repos
https://kisslinux.org/wiki/KISS_PATH
vi .profile
export KISS_PATH=''
KISS_PATH=/home/kai/repo/core
KISS_PATH=$KISS_PATH:/home/kai/repo/extra
KISS_PATH=$KISS_PATH:/home/kai/repo/wayland
. ~/.profile
kiss search \*
## enable sig verification
kiss build gnupg1
$ gpg --keyserver keyserver.ubuntu.com --recv-key 13295DAC2CF13B5C
$ echo trusted-key 0x13295DAC2CF13B5C >>/root/.gnupg/gpg.conf
cd /home/kai/repo
git config merge.verifySignatures true
rebuild with sign enabled
cd /var/db/kiss/installed/
kiss b .
cat .profile
| | # NOTE: '4' should be changed to match the number of threads. | | # This value can be found by running 'nproc'.
| # NOTE: The 'O' in '-O2' is the letter O and NOT 0 (ZERO). |
see https://wiki.gentoo.org/wiki/Safe_CFLAGS
export KISS_PATH=''
KISS_PATH=$HOME/repo/core
KISS_PATH=$KISS_PATH:$HOME/repo/extra
KISS_PATH=$KISS_PATH:$HOME/repo/wayland
KISS_PATH=$KISS_PATH:$HOME/community/community
export CFLAGS="-O2 -pipe -march=native"
export CXXFLAGS="$CFLAGS"
export MAKEFLAGS="-j4"
for community repo clone
https://codeberg.org/kiss-community/community
kernel install
linux-headers in official repo also has kernel source
kiss b linux-headers
ls ~/.cache/kiss/sources/linux-headers
linux-5.10.54.tar.xz
mkdir ~/kernel
cd ~/kernel
tar xvf ~/.cache/kiss/sources/linux-headers/linux-5.10.54.tar.xz
cd linux-5.10.54
kiss b ncurses
make menuconfig
copy firmwares from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/
kernel config for my dell
https://wiki.gentoo.org/wiki/Dell_Inspiron_3501
https://raw.githubusercontent.com/kzwkt/kiss-test/main/.config
for iwd needs
https://kisslinux.org/wiki/pkg/eiwd
https://wiki.gentoo.org/wiki/Iwd
| | CONFIG_CRYPTO_USER_API_HASH | | CONFIG_CRYPTO_USER_API_SKCIPHER | | CONFIG_KEY_DH_OPERATIONS | | CONFIG_CRYPTO_ECB | | CONFIG_CRYPTO_MD5 | | CONFIG_CRYPTO_CBC | | CONFIG_CRYPTO_SHA256 | | CONFIG_CRYPTO_AES | | CONFIG_CRYPTO_DES | | CONFIG_CRYPTO_CMAC | | CONFIG_CRYPTO_HMAC | | CONFIG_CRYPTO_SHA512 | | CONFIG_CRYPTO_ARC4 | | CONFIG_CRYPTO_SHA1
kiss b perl
kiss b libelf
make
make install
## instll initscripts
kiss b baseinit
##bootloader
mkdir /efi
mount esp to /efi
mount /dev/nvme0n1p1 /efi
cp /boot/vmlinuz /efi/kvmlinux
for systemd-boot/gummiboot config
cat /efi/loader/entries/kiss.conf
title kiss
linux /kivmlinuz
options root=/dev/nvme0n1p2 quiet rw
for wifi
kiss b eiwd
cat /var/lib/iwd/WIFI_SSID.psk
[Settings]
AutoConnect=True
[Security]
Passphrase=PASSWORD
check iwd config by running iwd -d in console
for autorun
ln -s /etc/sv/eiwd /var/service
couldnt get resolvconf to work used dhcpcd instead
nano /etc/iwd/main.conf
[General]
EnableNetworkConfiguration=true
UseDefaultInterface=true
[Network]
RoutePriorityOffset=200
#NameResolvingService=resolvconf
#EnableIPv6=false
#[Scan]
#DisablePeriodicScan=true
kiss build opendoas
kiss b sway-no-seat
xkeyboard-config error due to old apk from alpine edge repo
update
cat ~/repo/wayland/xkeyboard-config/sources
https://alpine.global.ssl.fastly.net/alpine/edge/main/x86_64/xkeyboard-config-VERSION-r0.apk
https://alpine.global.ssl.fastly.net/alpine/edge/main/x86_64/libx11-1.8.1-r1.apk
kiss c
to regenerate checksums
mesa building needs llvm only for amdgpu and sw rendering and it tool lot time so removing it
vi ~/repo/extra/mesa/build
meson \
-Dllvm=disabled \
-Ddri-drivers=i965 \
-Dvulkan-drivers=intel \
add these options for intel else skip
kiss b sway-no-seat
addgroup $USER video
addgroup $USER audio
addgroup $USER tty
passwd root
kiss b foot
mkdir -p ~/.config/sway
cp /etc/sway/config ~/.config/sway/config
https://kisslinux.org/wiki/pkg/sway
kiss b ttf-croscore
kiss b mpv
Comments
Post a Comment