Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blankon/blankon-live-build
https://github.com/blankon/blankon-live-build
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blankon/blankon-live-build
- Owner: BlankOn
- Created: 2020-10-30T20:13:05.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-19T17:49:14.000Z (over 1 year ago)
- Last Synced: 2024-04-14T04:45:02.788Z (9 months ago)
- Language: Shell
- Size: 4.46 MB
- Stars: 6
- Watchers: 15
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BlankOn live-build
This is repository for BlankOn live-build configuration. Before migrated to live-build, Blankon used to build the ISOs using custom-made script called [pabrik-cc](https://github.com/BlankOn/pabrik-cc) based on old debootstrap.
The Debian Live project produces the framework used to build live systems based on Debian and the official Debian Live images themselves.
References:
* [Wiki Debian Live Build](https://wiki.debian.org/DebianLive)
* [Debian Live Build](https://www.debian.org/devel/debian-live/)
* [Debian Live Build Manual](https://live-team.pages.debian.net/live-manual/html/live-manual/index.en.html)## Prerequisites and preparation
Need live-build version **20230502** or commit sha on `dd916ac5be9428ff79a28fb6343f5d244acca438`
### Install tools:
```
sudo apt install debootstrap make git apt-utils
git clone https://salsa.debian.org/live-team/live-build.git debian-live-build
cd debian-live-build
git checkout 7360d50fa6b
sudo make install
sudo lb --version
```### Clone Repo and Preparation
- Clone repo
```
git clone https://github.com/BlankOn/blankon-live-build.git
```
- Install blankon-keyring
```
cd blankon-live-build
sudo dpkg -i config/packages/blankon-keyring_2020.10.29-1.0_all.deb
```
- Create file `/usr/share/debootstrap/scripts/verbeek` with this content
```
mirror_style release
download_style apt
finddebs_style from-indices
variants - buildd fakechroot minbase
keyring /usr/share/keyrings/blankon-archive-keyring.gpg# include common settings
if [ -e "$DEBOOTSTRAP_DIR/scripts/debian-common" ]; then
. "$DEBOOTSTRAP_DIR/scripts/debian-common"
elif [ -e /debootstrap/debian-common ]; then
. /debootstrap/debian-common
elif [ -e "$DEBOOTSTRAP_DIR/debian-common" ]; then
. "$DEBOOTSTRAP_DIR/debian-common"
else
error 1 NOCOMMON "File not found: debian-common"
fi
```
- Create symlink in host files to satisfy udeb packages (?) [see this issue](https://github.com/BlankOn/Verbeek/issues/134).
(no need symlink if you're using docker for building images)
```
sudo ln -s /usr/share/live/build/data/debian-cd/squeeze /usr/share/live/build/data/debian-cd/verbeek
```
## Build- `sudo lb clean --purge`
- `sudo lb config`
- `sudo lb build`There is `build.sh` script that could be used to export the result to BlankOn's jahitan-harian directory.
Simple way
```
bash build.sh
```## TODO
Notification to blankon-dev mailing list (need SMTP server).