eudaldgr / kiss-live Goto Github PK
View Code? Open in Web Editor NEW๐ Script to build livecd iso for KISSLinux
Home Page: https://kisslinux.org
License: GNU General Public License v3.0
๐ Script to build livecd iso for KISSLinux
Home Page: https://kisslinux.org
License: GNU General Public License v3.0
|/ |\ISS https://k1ss.org ________________________________________________________________________________ Live Repository ________________________________________________________________________________ The Live repository for generate UNOFFICIAL images of KISS Linux. todo ________________________________________________________________________________ - [x] unmount correctly cachedir when INT - [ ] sign iso files generated - [x] solve tinyramfs hook mount -o ro - [x] solve init to ram disk - [x] slim down the iso filesize (well, slimed down before 'custom' config) - [x] create 'custom' config kernel - [ ] docker img - [x] build isolinux natively - [x] torrent download Dependencies ________________________________________________________________________________ * 'grub' * 'libisoburn' * 'syslinux' Usage ________________________________________________________________________________ usage: kiss-live [options ...] -c, --config <file> set config file path default is ./build.cfg -s, --sources <dir> set sources directory default is inside chroot -o, --output <name> set livecd output path default is kiss-live-$ver -p, --package <pkg1,pkg2,...> set packages to install default are <none> -d, --debug enable debug mode -h, --help show this help
I booted the kiss-live on my Laptop, good work ;)
but i cant use my wifi since its probably not enabled in kernel
i work on a modified kernel and i got the firmware build files from somewhere , my goal is both working so that most hardware is working
[xx@localhost kiss-live]$ sudo ./kiss-live -c "/home/xx/kiss-live/keess-cache" -d
...
...
-> linux-headers Verifying installation
-> linux-headers Installed successfully
-> util-linux Downloading sources
-> util-linux Downloading https://cdn.kernel.org/pub/linux/utils/util-linux/v2.36/util-linux-2.36.tar.xz
/usr/bin/kiss: line 210: curl: not found
ERROR util-linux Failed to download https://cdn.kernel.org/pub/linux/utils/util-linux/v2.36/util-linux-2.36.tar.xz
-> util-linux not installed
/bin/sh: tinyramfs: not found
!! Failed create initramfs
rm: cannot remove '/home/xx/kiss-live/rootfs/root/.cache/kiss/sources': Device or resource busy
[xx@localhost kiss-live]$
[xx@localhost kiss-live]$ whereis curl
curl: /usr/bin/curl /usr/include/curl /usr/share/man/man1/curl.1.bz2
[xx@localhost kiss-live]$ whereis tinyramfs
tinyramfs: /usr/bin/tinyramfs /etc/tinyramfs /usr/share/tinyramfs /usr/share/man/man8/tinyramfs.8
Im using linux gentoo on amd64, trying to make your script do work but so far its keep failing. Also im on slow limited connection, every time its re-downloading all sources again and again... its really painful, can you add please to your script the check for all files and skip downloading them (maybe for "-c" option only) if its already pre-downloaded (in external) folder? maybe best with checksum? for make sure no corrupted files. thank you!
Doesn't load the usb thingy or something
I'm aware you stated one of the goals is to slim this down. However I think it would be beneficial for this to have cryptsetup included with a kernel config for luks.
Fails to copy chain.c32 when creating iso file
make_iso
print 'Preparing isolinux files'
printf '%b \033[1;34m%s\033[m\n' '\033[1;33m->\033[m' 'Preparing isolinux files'
Preparing isolinux files
mkdir -p /tmp/kiss-live/iso/kiss
mkdir -p /tmp/kiss-live/iso/isolinux
mkdir -p /tmp/kiss-live/iso/boot
cp /tmp/kiss-live/files/isolinux.cfg /tmp/kiss-live/iso/isolinux
cp /usr/lib/syslinux/chain.c32 /tmp/kiss-live/iso/isolinux
cp: can't stat '/usr/lib/syslinux/chain.c32': No such file or directory
Command fails on copying the hooks dir to rootfs dir due to path not found.
failing command:
cp -r "$hooksdir/kiss/hooks" "$rootfsdir/root/.cache/hooks"
I had to add a mkdir before the copy.
mkdir -p "$rootfsdir/root/.cache/hooks"
hi, i'm using a Fedora 32 system. despite installing all dependencies, i still get the "!! grub not installed" error. any idea how could i resolve this?
Hello
as you probably not reading any more in my previous ticket (i wrote there more) cause you got it closed before i answered then i opening new one here, i hope you still can help.
I think i found the root of my previous problem. Hopefully its will help you to help me. Here is the logfile (only last part of it):
thank you again!
Testing the kde branch ๐๐ป
Command executed was sudo ./kiss-live -d -k
. Seemed to run successfully, I have a built ISO image (and the sha1sum matches). Looking over everything that goes into the creation of this ISO, I should be able to use it on a UEFI system, yes? The usual ways I would go about making a UEFI bootable usb (cat kiss-live-2020.9-2.iso /dev/sda
or dd
) do not render a bootable USB device; my list of options is blank (this method works fine with an Arch ISO, for comparison). Have you had success using kiss-live
with a UEFI system? I have no experience creating ISOs, so I'm not sure where to check on this problem.
Another issue (here) was resolved by installing file
on the host. I'd add a check for this when you also check for the other required packages (or find a different way to set $kernver; could just cat repo/linux/version
if you don't need all the information given by file
).
Outside of that, there isn't a whole lot else I see as being wrong with the kde work you've incorporated here. A few recommendations would be to use the kiss-kde
tarball I provide so users don't have to build the entire kde_pkgs list every time they want an ISO; I might have missed the option (you could probably do this through build.cfg?) but using a local tarball instead of starting from scratch would be great in case of failures or incremental updates to the image.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.