rebase on Debian 11 "Bullseye" (https://www.debian.org/releases/bullseye/):
- update APT sources lists - update documentation/download links - doc: update build process - increase RAM requirements to 2GB/recommended 4GB - update tests and build configuration
This commit is contained in:
18
Makefile
18
Makefile
@@ -40,7 +40,7 @@ checksums:
|
|||||||
mv *.iso iso/
|
mv *.iso iso/
|
||||||
last_tag=$$(git tag | tail -n1); \
|
last_tag=$$(git tag | tail -n1); \
|
||||||
cd iso/; \
|
cd iso/; \
|
||||||
rename "s/live-image/dlc-$$last_tag-debian-buster/" *; \
|
rename "s/live-image/dlc-$$last_tag-debian-bullseye/" *; \
|
||||||
sha512sum *.iso > SHA512SUMS; \
|
sha512sum *.iso > SHA512SUMS; \
|
||||||
|
|
||||||
# the signing key must be present and loaded on the build machine
|
# the signing key must be present and loaded on the build machine
|
||||||
@@ -73,18 +73,18 @@ test_imagesize:
|
|||||||
# rsync -avzP $BUILD_HOST:/var/debian-live-config/debian-live-config/iso/ ./
|
# rsync -avzP $BUILD_HOST:/var/debian-live-config/debian-live-config/iso/ ./
|
||||||
test_kvm_bios:
|
test_kvm_bios:
|
||||||
# Run the resulting image in KVM/virt-manager (legacy BIOS mode)
|
# Run the resulting image in KVM/virt-manager (legacy BIOS mode)
|
||||||
sudo virt-install --name dlc-test --boot cdrom --video virtio --disk path=$$PWD/dlc-test-disk0.qcow2,format=qcow2,size=20,device=disk,bus=virtio,cache=none --cdrom 'iso/dlc-2.2.5-debian-buster-amd64.hybrid.iso' --memory 2048 --vcpu 2
|
virt-install --name dlc-test --boot cdrom --video virtio --disk path=$$PWD/dlc-test-disk0.qcow2,format=qcow2,size=20,device=disk,bus=virtio,cache=none --cdrom 'iso/dlc-2.2.5-debian-bullseye-amd64.hybrid.iso' --memory 4096 --vcpu 2
|
||||||
sudo virsh destroy dlc-test
|
virsh destroy dlc-test
|
||||||
sudo virsh undefine dlc-test
|
virsh undefine dlc-test
|
||||||
sudo rm $$PWD/dlc-test-disk0.qcow2
|
rm -f $$PWD/dlc-test-disk0.qcow2
|
||||||
|
|
||||||
test_kvm_uefi:
|
test_kvm_uefi:
|
||||||
# Run the resulting image in KVM/virt-manager (UEFI mode)
|
# Run the resulting image in KVM/virt-manager (UEFI mode)
|
||||||
# UEFI support must be enabled in QEMU config for EFI install tests https://wiki.archlinux.org/index.php/Libvirt#UEFI_Support (/usr/share/OVMF/*.fd)
|
# UEFI support must be enabled in QEMU config for EFI install tests https://wiki.archlinux.org/index.php/Libvirt#UEFI_Support (/usr/share/OVMF/*.fd)
|
||||||
sudo virt-install --name dlc-test --boot loader=/usr/share/OVMF/OVMF_CODE.fd --video virtio --disk path=$$PWD/dlc-test-disk0.qcow2,format=qcow2,size=20,device=disk,bus=virtio,cache=none --cdrom 'iso/dlc-2.2.5-debian-buster-amd64.hybrid.iso' --memory 2048 --vcpu 2
|
virt-install --name dlc-test --boot loader=/usr/share/OVMF/OVMF_CODE.fd --video virtio --disk path=$$PWD/dlc-test-disk0.qcow2,format=qcow2,size=20,device=disk,bus=virtio,cache=none --cdrom 'iso/dlc-2.2.5-debian-bullseye-amd64.hybrid.iso' --memory 4096 --vcpu 2
|
||||||
sudo virsh destroy dlc-test
|
virsh destroy dlc-test
|
||||||
sudo virsh undefine dlc-test
|
virsh undefine dlc-test
|
||||||
sudo rm $$PWD/dlc-test-disk0.qcow2
|
rm -f $$PWD/dlc-test-disk0.qcow2
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ This repository contains the `live-build` configuration and scripts used to buil
|
|||||||
|
|
||||||
## Download
|
## Download
|
||||||
|
|
||||||
**[ Download .ISO image](https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/dlc-2.2.5-debian-buster-amd64.hybrid.iso)** (64-bit)
|
**[ Download .ISO image](https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/dlc-2.2.5-debian-bullseye-amd64.hybrid.iso)** (64-bit)
|
||||||
|
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|||||||
@@ -16,10 +16,10 @@ lb config noauto \
|
|||||||
--clean \
|
--clean \
|
||||||
--debconf-frontend dialog \
|
--debconf-frontend dialog \
|
||||||
--debian-installer live \
|
--debian-installer live \
|
||||||
--debian-installer-distribution buster \
|
--debian-installer-distribution bullseye \
|
||||||
--debian-installer-gui true \
|
--debian-installer-gui true \
|
||||||
--debootstrap-options "--include=apt-transport-https,ca-certificates,openssl" \
|
--debootstrap-options "--include=apt-transport-https,ca-certificates,openssl" \
|
||||||
--distribution buster \
|
--distribution bullseye \
|
||||||
--firmware-binary true \
|
--firmware-binary true \
|
||||||
--firmware-chroot true \
|
--firmware-chroot true \
|
||||||
--initramfs live-boot \
|
--initramfs live-boot \
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
deb https://deb.debian.org/debian/ buster main contrib non-free
|
|
||||||
deb http://security.debian.org/ buster/updates main contrib non-free
|
|
||||||
deb https://deb.debian.org/debian/ buster-proposed-updates main contrib non-free
|
|
||||||
deb https://deb.debian.org/debian/ buster-updates main contrib non-free
|
|
||||||
deb https://deb.debian.org/debian/ buster-backports main contrib non-free
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
../includes.chroot/etc/apt/sources.list.d/debian-buster-updates-security-backports.list
|
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
deb https://deb.debian.org/debian/ bullseye main contrib non-free
|
||||||
|
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
|
||||||
|
deb https://deb.debian.org/debian/ bullseye-proposed-updates main contrib non-free
|
||||||
|
deb https://deb.debian.org/debian/ bullseye-updates main contrib non-free
|
||||||
|
deb https://deb.debian.org/debian/ bullseye-backports main contrib non-free
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
deb https://deb.debian.org/debian/ bullseye main contrib non-free
|
||||||
|
deb http://security.debian.org/debian-security bullseye-security main contrib non-free
|
||||||
|
deb https://deb.debian.org/debian/ bullseye-proposed-updates main contrib non-free
|
||||||
|
deb https://deb.debian.org/debian/ bullseye-updates main contrib non-free
|
||||||
|
deb https://deb.debian.org/debian/ bullseye-backports main contrib non-free
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
// Within lines unattended-upgrades allows 2 macros whose values are
|
// Within lines unattended-upgrades allows 2 macros whose values are
|
||||||
// derived from /etc/debian_version:
|
// derived from /etc/debian_version:
|
||||||
// ${distro_id} Installed origin.
|
// ${distro_id} Installed origin.
|
||||||
// ${distro_codename} Installed codename (eg, "buster")
|
// ${distro_codename} Installed codename (eg, "bullseye")
|
||||||
Unattended-Upgrade::Origins-Pattern {
|
Unattended-Upgrade::Origins-Pattern {
|
||||||
// Codename based matching:
|
// Codename based matching:
|
||||||
// This will follow the migration of a release through different
|
// This will follow the migration of a release through different
|
||||||
|
|||||||
@@ -5,11 +5,11 @@
|
|||||||
The actual ISO image build process is managed by the [live-build](https://www.debian.org/devel/debian-live/) suite of tools. For more details, read the `live-build` documentation:
|
The actual ISO image build process is managed by the [live-build](https://www.debian.org/devel/debian-live/) suite of tools. For more details, read the `live-build` documentation:
|
||||||
|
|
||||||
* [Live Systems manual](https://live-team.pages.debian.net/live-manual/html/live-manual/index.en.html)
|
* [Live Systems manual](https://live-team.pages.debian.net/live-manual/html/live-manual/index.en.html)
|
||||||
* [`man lb config`](httpshttps://manpages.debian.org/buster/live-build/lb_config.1.en.html)
|
* [`man lb config`](httpshttps://manpages.debian.org/bullseye/live-build/lb_config.1.en.html)
|
||||||
* [`man lb build`](https://manpages.debian.org/buster/live-build/lb_build.1.en.html)
|
* [`man lb build`](https://manpages.debian.org/bullseye/live-build/lb_build.1.en.html)
|
||||||
* [`man lb clean`](https://manpages.debian.org/buster/live-build/lb_clean.1.en.html)
|
* [`man lb clean`](https://manpages.debian.org/bullseye/live-build/lb_clean.1.en.html)
|
||||||
* [`man live-build`](https://manpages.debian.org/stretch/live-build/live-build.7.en.html)
|
* [`man live-build`](https://manpages.debian.org/bullseye/live-build/live-build.7.en.html)
|
||||||
* `/usr/share/doc/live-manual/pdf/live-manual.portrait.en.a4.pdf.gz` ([live-manual](https://packages.debian.org/buster/live-manual) package)
|
* `/usr/share/doc/live-manual/pdf/live-manual.portrait.en.a4.pdf.gz` ([live-manual](https://packages.debian.org/bullseye/live-manual) package)
|
||||||
|
|
||||||
|
|
||||||
## Build using the default configuration
|
## Build using the default configuration
|
||||||
@@ -58,8 +58,8 @@ You need some disk space for the download and build caches. The build directory
|
|||||||
|
|
||||||
### auto/
|
### auto/
|
||||||
|
|
||||||
* `auto/config` sets basic configuration settings for the build (architecture, boot configuration, installer...), see [`man lb config`](https://manpages.debian.org/buster/live-build/lb_config.1.en.html)
|
* `auto/config` sets basic configuration settings for the build (architecture, boot configuration, installer...), see [`man lb config`](https://manpages.debian.org/bullseye/live-build/lb_config.1.en.html)
|
||||||
* `auto/clean` is run automatically before each build to ensure the build directory is free of any artifacts from previous builds (download caches are kept). See [`man lb clean`](https://manpages.debian.org/buster/live-build/lb_clean.1.en.html)
|
* `auto/clean` is run automatically before each build to ensure the build directory is free of any artifacts from previous builds (download caches are kept). See [`man lb clean`](https://manpages.debian.org/bullseye/live-build/lb_clean.1.en.html)
|
||||||
* `auto/build` contains the command used for the build, and basic logging settings
|
* `auto/build` contains the command used for the build, and basic logging settings
|
||||||
|
|
||||||
|
|
||||||
@@ -67,7 +67,7 @@ You need some disk space for the download and build caches. The build directory
|
|||||||
|
|
||||||
Files to copy to the resulting live system (eg. modified configuration or data files under `etc/, opt/, usr/, ...`)
|
Files to copy to the resulting live system (eg. modified configuration or data files under `etc/, opt/, usr/, ...`)
|
||||||
|
|
||||||
Scripts and data that do not belong to an existing Debian package _should_ be distributed as [custom packages](http://wiki.debian.org/Packaging), and not stashed directly into this directory. Debian packages can also handle custom configuration files (see [`man dpkg-divert`](https://manpages.debian.org/buster/dpkg/dpkg-divert.1.en.html)).
|
Scripts and data that do not belong to an existing Debian package _should_ be distributed as [custom packages](http://wiki.debian.org/Packaging), and not stashed directly into this directory. Debian packages can also handle custom configuration files (see [`man dpkg-divert`](https://manpages.debian.org/bullseye/dpkg/dpkg-divert.1.en.html)).
|
||||||
|
|
||||||
For example, to add custom files/unpackaged programs inside your live system:
|
For example, to add custom files/unpackaged programs inside your live system:
|
||||||
|
|
||||||
@@ -97,11 +97,7 @@ Caveats:
|
|||||||
- Packages placed here will _not_ receive upgrades through APT (unless they are someday added to official Debian repositories)
|
- Packages placed here will _not_ receive upgrades through APT (unless they are someday added to official Debian repositories)
|
||||||
- Packages placed here are not GPG-signed. Ensure you download/build the package over a secure channel.
|
- Packages placed here are not GPG-signed. Ensure you download/build the package over a secure channel.
|
||||||
|
|
||||||
```bash
|
See [Makefile.extra](https://gitlab.com/nodiscc/debian-live-config/-/blob/master/Makefile.extra) for examples.
|
||||||
# example addition of a third-party program
|
|
||||||
mkdir -pv config/packages.chroot
|
|
||||||
wget -N -nv --show-progress -P config/packages.chroot/ https://download.opensuse.org/repositories/home:/strycore/Debian_9.0/amd64/lutris_0.5.2.2_amd64.deb
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
### config/includes.installer/
|
### config/includes.installer/
|
||||||
@@ -149,7 +145,7 @@ Currently only 2 locales (english and french) are pre-generated, other languages
|
|||||||
- [ ] Automated whole disk partitioning
|
- [ ] Automated whole disk partitioning
|
||||||
- [ ] Manual
|
- [ ] Manual
|
||||||
- [ ] Copy latest CHANGELOG.md entry to a [new Github release](https://github.com/nodiscc/debian-live-config/releases)
|
- [ ] Copy latest CHANGELOG.md entry to a [new Github release](https://github.com/nodiscc/debian-live-config/releases)
|
||||||
- [ ] attach `dlc-X.Y.Z-debian-buster-amd64.hybrid.iso dlc-release.key SHA512SUMS SHA512SUMS.sign` to the releases
|
- [ ] attach `dlc-X.Y.Z-debian-bullseye-amd64.hybrid.iso dlc-release.key SHA512SUMS SHA512SUMS.sign` to the releases
|
||||||
- `Publish release`
|
- `Publish release`
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,20 +3,20 @@
|
|||||||
## Hardware Requirements
|
## Hardware Requirements
|
||||||
|
|
||||||
- Computer with x86_64 CPU
|
- Computer with x86_64 CPU
|
||||||
- Memory: min 1024MB, recommended 2GB+
|
- Memory: min 2GB, recommended 4GB+
|
||||||
- Recommended storage: 15GB+ hard drive or SSD (operating system and programs), 10-∞GB (user data)
|
- Recommended storage: 15GB+ hard drive or SSD (operating system and programs), 10-∞GB (user data)
|
||||||
- 2GB+ USB drive or DVD-R for the installation media
|
- 2GB+ USB drive or DVD-R for the installation media
|
||||||
|
|
||||||
|
|
||||||
## Download
|
## Download
|
||||||
|
|
||||||
**[ Download](https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/dlc-2.2.5-debian-buster-amd64.hybrid.iso)** the latest ISO image
|
**[ Download](https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/dlc-2.2.5-debian-bullseye-amd64.hybrid.iso)** the latest ISO image
|
||||||
|
|
||||||
(Recommended) verify file integrity and authenticity with GPG:
|
(Recommended) verify file integrity and authenticity with GPG:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# download the iso, signing key, checksums and signature
|
# download the iso, signing key, checksums and signature
|
||||||
wget https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/dlc-2.2.5-debian-buster-amd64.hybrid.iso
|
wget https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/dlc-2.2.5-debian-bullseye-amd64.hybrid.iso
|
||||||
wget https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/dlc-release.key
|
wget https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/dlc-release.key
|
||||||
wget https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/SHA512SUMS
|
wget https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/SHA512SUMS
|
||||||
wget https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/SHA512SUMS.sign
|
wget https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/SHA512SUMS.sign
|
||||||
@@ -35,7 +35,7 @@ sha512sum -c SHA512SUMS
|
|||||||
#### To USB - From Linux
|
#### To USB - From Linux
|
||||||
|
|
||||||
* Insert a 2GB+ USB drive
|
* Insert a 2GB+ USB drive
|
||||||
* Right-click the ISO image file, and click `Open with ... > Disk image writer` (requires [gnome-disks](https://packages.debian.org/buster/gnome-disk-utility)) **Caution, all data on the USB drive will be erased**
|
* Right-click the ISO image file, and click `Open with ... > Disk image writer` (requires [gnome-disks](https://packages.debian.org/bullseye/gnome-disk-utility)) **Caution, all data on the USB drive will be erased**
|
||||||
* Or, using the command line: Identify your USB drive device name (eg. `/dev/sdc`) using the `lsblk` command; Write the ISO image to the drive using `sudo dd /path/to/live-image.iso /dev/sdXXX`.
|
* Or, using the command line: Identify your USB drive device name (eg. `/dev/sdc`) using the `lsblk` command; Write the ISO image to the drive using `sudo dd /path/to/live-image.iso /dev/sdXXX`.
|
||||||
|
|
||||||

|

|
||||||
|
|||||||
@@ -20,7 +20,7 @@ This repository contains the `live-build` configuration and scripts used to buil
|
|||||||
|
|
||||||
## Download
|
## Download
|
||||||
|
|
||||||
**[ Download .ISO image](https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/dlc-2.2.5-debian-buster-amd64.hybrid.iso)** (64-bit)
|
**[ Download .ISO image](https://github.com/nodiscc/debian-live-config/releases/download/2.2.5/dlc-2.2.5-debian-bullseye-amd64.hybrid.iso)** (64-bit)
|
||||||
|
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|||||||
Reference in New Issue
Block a user