minimal icon indicating copy to clipboard operation
minimal copied to clipboard

Create Slax module for MLL

Open ivandavidov opened this issue 7 years ago • 5 comments

It will be a good exercise to create Slax module for MLL. The most recent Slax version is 9.6.4 and it supports everything that should allow MLL to be built out of the box, assuming there is properly configured module.

https://www.slax.org/customize.php

ivandavidov avatar Nov 26 '18 20:11 ivandavidov

Slax is an interesting project! I was using GRML in production, but Slax could be a good drop-in replacement.

TechnologyClassroom avatar Nov 26 '18 21:11 TechnologyClassroom

I have proof-of-concept that MLL can be built and can run in Slax environment. One note - the default apt prerequisites were not enough. I had to add build-essential in order to fix issue with missing GCC headers.


TODO:

Create Slax module which contains the following:

  • The most recent MLL sources in /root/mll
  • All apt prerequisites preinstalled
  • Desktop shortcut for one-click build
  • Desktop shortcut for one-click run in QEMU
  • Custom MLL wallpaper

Minimal Linux Live in Slax

ivandavidov avatar Nov 26 '18 22:11 ivandavidov

Making a mll build module would be as simple as running apt on the dependencies and running the savechanges mll.sb command.

TechnologyClassroom avatar Nov 27 '18 15:11 TechnologyClassroom

Indeed, the technical part is not difficult. It's the details that are more challenging (yet not that difficult), e.g. wallpaper, shortcuts, testing, etc.

ivandavidov avatar Nov 27 '18 15:11 ivandavidov

I figured out the wallpaper portion. Do you have a wallpaper ready?

echo "Changing to /tmp directory..."
cd /tmp

echo "Downloading wallpaper..."
wget http://location.of/your/img/img.jpg

echo "Overwriting Slax wallpaper..."
mv img.jpg /usr/share/wallpapers/slax_wallpaper.jpg

echo "Changing permissions of wallpaper..."
chmod 664 /usr/share/wallpapers/slax_wallpaper.jpg

echo "Making other changes..."
apt update
apt install -y build-essential

echo "Saving Slax module..."
savechanges mll$(date +%Y%m%d-%H%M).sb

echo "Building custom Slax ISO..."
genslaxiso slaxmll$(date +%Y%m%d-%H%M).iso mll*.sb

TechnologyClassroom avatar Dec 14 '18 16:12 TechnologyClassroom