Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Oros42 committed Dec 29, 2020
1 parent 90152db commit e7d10c0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ Make a live CD Debian with dwagent (https://www.dwservice.net/)

### Install
```
sudo apt install debootstrap xorriso live-build syslinux squashfs-tools isolinux
sudo apt install debootstrap xorriso live-build syslinux squashfs-tools isolinux grub-efi-amd64-bin
```
```
cp config.dist config
```
Change `livework` and `os_version` to your needs.

### Make
```
sudo ./make_iso.sh
Expand Down
2 changes: 1 addition & 1 deletion config.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
os_version="buster"
livework="./livework/"
livework="/opt/livework/"
repositories="http://ftp.debian.org/debian/"
dist_name="dwlive"
iso_name="dwlive-Debian-amd64.iso"
19 changes: 2 additions & 17 deletions make_iso.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# author : Oros
# 2020-11-14
# 2020-12-29
#
# This script create a light Debian ISO which include dwagent (https://www.dwservice.net/)

Expand All @@ -22,22 +22,6 @@ if [ "$EUID" -ne 0 ]; then
exit 1
fi

if [ ! `which debootstrap` ]; then
apt-get install -y debootstrap
fi
if [ ! `which xorriso` ]; then
apt-get install -y xorriso
fi
if [ ! `which live-build` ]; then
apt-get install -y live-build
fi
if [ ! `which syslinux` ]; then
apt-get install -y syslinux
fi
if [ ! `which mksquashfs` ]; then
apt-get install -y squashfs-tools
fi

home_project=$(pwd)
chroot_files="$home_project/chroot_files"
iso_files="$home_project/iso_files"
Expand Down Expand Up @@ -118,3 +102,4 @@ xorriso \
"${livework}/iso"

echo "ISO build in ${home_project}/${iso_name}"
sudo chown $USER: "${home_project}/${iso_name}"

0 comments on commit e7d10c0

Please sign in to comment.