Skip to content

Instantly share code, notes, and snippets.

@thavelick
Created November 20, 2021 05:22
Show Gist options
  • Save thavelick/93677b2fb41ded07182e1b1fcb760c23 to your computer and use it in GitHub Desktop.
Save thavelick/93677b2fb41ded07182e1b1fcb760c23 to your computer and use it in GitHub Desktop.
# cd /root
~ # git clone https://github.com/eudaldgr/kiss-live.git
Cloning into 'kiss-live'...
remote: Enumerating objects: 1176, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 1176 (delta 5), reused 8 (delta 5), pack-reused 1166
Receiving objects: 100% (1176/1176), 1.58 MiB | 506.00 KiB/s, done.
Resolving deltas: 100% (570/570), done.
~ # cd kiss-live/
~/kiss-live # ./kiss-live -d >> ~/live.log 2>&1
live.log
---------
~/kiss-live # cat ~/live.log
-> Preparing enviroment
+ prepare_rootfs
+ '[' '!' -f /root/kiss-live/tmp/kiss-chroot-2020.9-2.tar.xz ]
+ print 'Downloading source'
+ printf '%b \033[1;34m%s\033[m\n' '\033[1;33m->\033[m' 'Downloading source'
-> Downloading source
+ curl -L https://github.com/kisslinux/repo/releases/download/2020.9-2/kiss-chroot-2020.9-2.tar.xz -o /root/kiss-live/tmp/kiss-chroot-2020.9-2.tar.xz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 635 100 635 0 0 1741 0 --:--:-- --:--:-- --:--:-- 1744
100 31.1M 100 31.1M 0 0 10.7M 0 0:00:02 0:00:02 --:--:-- 13.3M
+ print 'Extracting source'
+ printf '%b \033[1;34m%s\033[m\n' '\033[1;33m->\033[m' 'Extracting source'
-> Extracting source
+ cd /root/kiss-live/rootfs
+ tar xf /root/kiss-live/tmp/kiss-chroot-2020.9-2.tar.xz
+ print 'Preparing rootfs enviroment'
+ printf '%b \033[1;34m%s\033[m\n' '\033[1;33m->\033[m' 'Preparing rootfs enviroment'
-> Preparing rootfs enviroment
+ cp -r /root/kiss-live/repo /root/kiss-live/rootfs/var/db/kiss/live
+ install -D /root/kiss-live/files/issue -t /root/kiss-live/rootfs/root/.cache
+ install -D /root/kiss-live/hooks/kiss/hooks -t /root/kiss-live/rootfs/root/.cache
+ install -D /root/kiss-live/files/kiss-live.sh -t /root/kiss-live/rootfs/etc/profile.d
+ git clone https://github.com/kisslinux/repo /root/kiss-live/rootfs/var/db/kiss/repo
Cloning into '/root/kiss-live/rootfs/var/db/kiss/repo'...
+ print 'Updating system'
+ printf '%b \033[1;34m%s\033[m\n' '\033[1;33m->\033[m' 'Updating system'
-> Updating system
+ chroot_exec 'kiss u'
+ echo 'kiss u 3>&-'
+ /root/kiss-live/rootfs/usr/bin/kiss-chroot /root/kiss-live/rootfs
-> Updating repositories
-> /var/db/kiss/repo
warning: Pulling without specifying how to reconcile divergent branches is
discouraged. You can squelch this message by running one of the following
commands sometime before your next pull:
git config pull.rebase false # merge (the default strategy)
git config pull.rebase true # rebase
git config pull.ff only # fast-forward only
You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or --ff-only on the command line to override the configured default per
invocation.
-> /var/db/kiss/live
-> Checking for new package versions
-> Detected package manager update
-> The package manager will be updated first
-> Continue?: Press Enter to continue or Ctrl+C to abort here
-> Resolving dependencies
-> Building: kiss
-> kiss Checking repository files
-> Checking for pre-built dependencies
-> kiss Downloading sources
-> kiss Downloading https://github.com/kisslinux/kiss/archive/5.5.28.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 122 100 122 0 0 400 0 --:--:-- --:--:-- --:--:-- 398
100 25662 0 25662 0 0 35641 0 --:--:-- --:--:-- --:--:-- 35641
-> kiss Downloading https://github.com/kisslinux/website/archive/f0525d4e00c5e07138ac2ceb53936d0b221608e7.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 159 100 159 0 0 676 0 --:--:-- --:--:-- --:--:-- 676
100 281k 0 281k 0 0 183k 0 --:--:-- 0:00:01 --:--:-- 243k
-> Verified all checksums
-> kiss Building package (1/1)
-> kiss Extracting sources
-> kiss Starting build
-> kiss Successfully built package
-> kiss Stripping binaries and libraries
-> kiss Checking for missing dependencies
-> kiss Generating manifest
-> kiss Generating etcsums
-> kiss Creating tarball
-> kiss Successfully created tarball
-> Run 'kiss i kiss' to install the package(s)
-> kiss Checking that manifest is valid
-> kiss Checking that all dependencies are installed
-> kiss Checking for package conflicts
-> kiss Installing package
-> kiss Verifying installation
-> kiss Installed successfully
-> Updated the package manager
-> Re-run 'kiss update' to update your system
+ '[' ]
+ print 'Build base packages'
+ printf '%b \033[1;34m%s\033[m\n' '\033[1;33m->\033[m' 'Build base packages'
-> Build base packages
+ chroot_exec 'kiss b baseinit && kiss i baseinit'
+ echo 'kiss b baseinit && kiss i baseinit 3>&-'
+ /root/kiss-live/rootfs/usr/bin/kiss-chroot /root/kiss-live/rootfs
-> Building: explicit: baseinit
-> Checking for pre-built dependencies
-> baseinit Reading sources
-> baseinit Downloading https://github.com/kisslinux/init/archive/1.0.3.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 121 100 121 0 0 420 0 --:--:-- --:--:-- --:--:-- 420
100 6560 0 6560 0 0 11569 0 --:--:-- --:--:-- --:--:-- 11569
-> baseinit Verifying sources
-> baseinit Building package (1/1)
-> baseinit Extracting sources
-> baseinit Starting build
-> baseinit Successfully built package
-> baseinit Generating manifest
-> baseinit Stripping binaries and libraries
-> baseinit looking for dependencies (using readelf)
-> baseinit Generating etcsums
-> baseinit Creating tarball
-> baseinit Successfully created tarball
-> Install built packages? [baseinit]
-> Continue?: Press Enter to continue or Ctrl+C to abort
-> baseinit Checking if manifest valid
-> baseinit Checking if package installable
-> baseinit Checking for package conflicts
-> baseinit Installing package (baseinit@1.0.3-1.tar.xz)
-> baseinit Installed successfully
-> baseinit Checking if manifest valid
-> baseinit Checking if package installable
-> baseinit Checking for package conflicts
-> baseinit Installing package (baseinit@1.0.3-1.tar.xz)
-> baseinit Installed successfully
+ panic 'Failed to build baseinit'
+ print 'Failed to build baseinit' '\033[1;31m!!\033[m'
+ printf '%b \033[1;34m%s\033[m\n' '\033[1;31m!!\033[m' 'Failed to build baseinit'
!! Failed to build baseinit
+ exit 1
+ cleanup
+ '[' -n ]
+ '[' 1 '=' 1 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment