My Latest Attempt at an Automated Trisquel Distro builder.

Sin respuestas
cochranizer
Desconectado/a
se unió: 12/03/2017

Hi, everyone! It's been so long since I've been here, I gotta catch up with everyone's posts.

Anyway, this is my latest attempt at making an automated script for building at least a distributable Trisquel filesystem using xhost, debootstrap, proot and squashfs-tools. I posted it here just to see what feedback I can get to improve.

#!/bin/bash
# MAKE SURE YOU RUN THIS UNDER ROOT!
xhost + # this is required to run Synaptic later in the script.
sudo apt install debootstrap proot squashfs-tools # required to use this script
mkdir distro # creates a working directory
cd distro # changes to working directory
sudo debootstrap flidas . # debootstraps to directory.
sudo proot -S . # This is where you install Synaptic if you wish and use it in the proot/chroot.
sudo mksquashfs . distro.sfs # makes the filesystem.

Looking forward to your feedback.