Skip to content

Commit ea2c5ea

Browse files
authored
Merge pull request #78 from duonl/develop/ALPHA
Abaddon-4
2 parents 273864f + bfe1cc6 commit ea2c5ea

7 files changed

Lines changed: 33 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,19 @@
22

33
## 2026
44

5+
## August
6+
* `2026-08-12 04:36:19` : [OAC-1516] Optimizations for PXE-boot (2)
7+
* [OAC-1519] Replace `/var/cache` with `/var/cache/apt` in [mksquashfs exclusions](./ISO-builder.sh#L1061)
8+
* [OAC-1519] Clean out debconf passwords in [chroot.sh](./script/chroot.sh#L230)
9+
* [OAC-1526] Adding `layerfs-path=filesystem.squashfs` as default variable in [Grub](./config/grub/grub.cfg.img) as `$SQUASHFS_PXE`
10+
* `2026-08-11 09:17:16` : [OAC-1516] Optimizations for PXE-boot
11+
* [OAC-1521] Updated [README](./README.md)
12+
* [OAC-1517] Removed [APT sources file](./config/apt/sources.list) for RELEASE and DEBUG
13+
* Minor kernel patch: `7.0.0-28` --> `7.0.0-29`
14+
515
## Juli
16+
* `2026-07-21 05:46:27` : [OAC-1461] Remove double output of detected audio sinks
17+
* Minor kernel patch: `7.0.0-27` --> `7.0.0-28`
618
* `2026-07-09 10:06:24` : [OAC-1471] Added `ntfs.mod` through `grub-smktandalone` instead
719
* Removed `grub-efi-amd64-bin`
820
* `nmcli` commands now also require `sudo` when editing connections

ISO-builder.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,6 +917,11 @@ fi
917917
delete_file "${CHROOT_DIR}/etc/machine-id" 'Generalizing distro...'
918918
delete_file "${CHROOT_DIR}/etc/resolv.conf" 'Clearing resolv.conf...'
919919

920+
if [[ ${BCLD_MODEL} != 'test' ]]; then
921+
# Delete APT sources for RELEASE and DEBUG
922+
delete_file "${CHROOT_DIR}/etc/apt/sources.list" 'Removing APT sources for RELEASE and DEBUG...'
923+
fi
924+
920925
## Unnecessary services
921926
delete_file "${CHSERVICE_DIR}/dbus-org.freedesktop.resolve1.service" 'Disable resolvconf'
922927
delete_file "${CHSERVICE_DIR}/multi-user.target.wants/systemd-resolved.service" 'Disable resolvconf'
@@ -1053,7 +1058,7 @@ list_header "Generating SquashFS"
10531058
list_entry
10541059
/usr/bin/mksquashfs chroot "${CASPER_DIR}/filesystem.squashfs" \
10551060
-e boot \
1056-
-e var/cache \
1061+
-e var/cache/apt \
10571062
-e var/lib/apt/lists \
10581063
-e usr/share/backgrounds
10591064
list_catch

README.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
1-
# UPDATE 20/05/2025
2-
📣📣📣 IMPORTANT 📣📣📣
3-
4-
> BCLD HAS OFFICIALLY CHANGED OWNERSHIP TO DUO (NL)
5-
6-
> ALL DEVELOPMENT AND MAINTENANCE ACTIVITIES WILL CONTINUE AS NORMAL
7-
81
# Introduction
92

103
|||
114
|---|---|
125
| This is the <u>official</u> BCLD (Bootable Client Lockdown) Project.<br/>This project is a follow-up to the Fedora BCLD project.<br/>BCLD was initiated in hopes of advancing hardware support and being able to operate in accordance with Secure Boot.<br/>Below are extensive instructions to the product. | <img title="" src="./assets/bcld-logo.png" alt="logo" width="300" data-align="left"> |
136

14-
**BCLD Version**: 14.2-4 BCLD (Chimera)<br/>
15-
**BCLD Kernel**: 6.14.0-37-generic
7+
**BCLD Version**: 15.0-4 BCLD (Abaddon)<br/>
8+
**BCLD Kernel**: 7.0.0-29-generic
169

1710
# Index
1811

@@ -258,7 +251,6 @@ This folder contains important scripts for building a BCLD image.
258251
* As with Fedora BCLD, the version number is kept in a file called `./VERSION`.
259252
* This can be configured in [BUILD.conf](./config/BUILD.conf).
260253
* So use helpful, concise descriptions like: `14-dec-2022_BCLD-Omniscius-3_FACET-TEST.img`
261-
*
262254
* The `VERSION` file contains a concatenated string: `12.10-3 BCLD Test (Omniscius)`.
263255

264256
# Artifacts

config/BUILD.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export BCLD_DATE="$(/usr/bin/date +'%d-%b-%Y')"
6262
export BCLD_DEFAULT_URL='https://www.google.com/'
6363
export BCLD_HOME='/root'
6464
export BCLD_MD5="./test/bcld.md5"
65-
export BCLD_PATCH='2' # Changes with every major feature update
65+
export BCLD_PATCH='4' # Changes with every major feature update
6666
export BCLD_RELEASE='15.0' # Changes with every major LTS (or Facet) upgrade
6767
export BCLD_REPO_BRANCH='main'
6868
export BCLD_TERM='xterm-256color'
@@ -75,7 +75,7 @@ export FAT_LABEL="BCLD-USB"
7575
export HOME='/root'
7676
export KERNEL_MINOR='7.0'
7777
export KERNEL_MODEL='generic'
78-
export KERNEL_PATCH='0-27'
78+
export KERNEL_PATCH='0-29'
7979
export LC_ALL="C"
8080
export NVIDIA_FIRMWARE="595-595.71.05"
8181
export REPO_NAME="${BCLD_CODE_NAME^^}-${BCLD_RELEASE}-${BCLD_PATCH}"

config/grub/grub.cfg.img

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ set gfxmode="1280x1024x32"
1515
set ISO_FILE="/bcld.iso"
1616
set PLYMOUTH="quiet splash"
1717
set SURFACE_FIX='pci=hpiosize=0' # Fixes issue of Surface laptops not shutting down
18+
set SQUASHFS_PXE='layerfs-path=filesystem.squashfs'
1819

19-
set PARAMS="iso-scan/filename=$ISO_FILE boot=casper noprompt noeject toram apparmor=0 $SURFACE_FIX $PLYMOUTH"
20+
set PARAMS="iso-scan/filename=$ISO_FILE boot=casper noprompt noeject toram apparmor=0 $SURFACE_FIX $PLYMOUTH $SQUASHFS_PXE"
2021
set PRIOMETERS="systemd.unit=graphical.target 5"
2122

2223
set default=0

script/chroot.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ if [[ -n "${BCLD_PKG_EXTRA}" ]]; then
147147
/usr/bin/apt-get install -yq --no-install-recommends ${BCLD_PKG_EXTRA} | /usr/bin/tee -a "${LOG_FILE}"
148148
fi
149149

150-
151150
### Uninstall packages ###
152151

153152
## If there is a REMOVE file, use it.
@@ -160,11 +159,10 @@ if [[ -f ${REMOVE} ]]; then
160159
/usr/bin/apt-get remove -yq --purge $(/usr/bin/cat ${REMOVE}) | /usr/bin/tee -a "${LOG_FILE}"
161160
fi
162161

163-
164162
# Configurations
165163
list_header "Configurations"
166164

167-
## User/Run Level/Target, het is complex...
165+
## User/Run Level/Target
168166
list_item "Default Target: ${DEFAULT_TARGET}"
169167
list_entry
170168
/usr/bin/systemctl enable "${DEFAULT_TARGET}.target"
@@ -229,6 +227,12 @@ list_item "Set DPKG to unattended..."
229227
/usr/bin/echo unattended-upgrades unattended-upgrades/enable_auto_updates boolean true | debconf-set-selections
230228
dpkg-reconfigure -f noninteractive unattended-upgrades
231229

230+
## Clean out debconf passwords
231+
list_item "Clean out debconf passwords..."
232+
/usr/bin/rm -f /var/cache/debconf/passwords.dat
233+
/usr/bin/touch /var/cache/debconf/passwords.dat
234+
/usr/bin/chmod 600 /var/cache/debconf/passwords.dat
235+
232236
# This is where the Chrome apps will be pulled from Nexus
233237
if [[ ${DEB_COUNT} -gt 0 ]]; then
234238
# Look for any Chrome apps inside APP_DIR

script/startup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ if [[ "${BCLD_SOUNDCHECK}" -eq 1 ]]; then
600600
list_item_pass 'BCLD Sound Check enabled!'
601601
fi
602602

603-
print_item "Scanning sound cards (please wait)"
603+
print_item "Checking for sound card(s)"
604604

605605
# Give systems time to start Pulse Audio
606606
for scan in $(/usr/bin/seq 1 20); do
@@ -629,7 +629,7 @@ if [[ -z "${BCLD_SINKS}" ]] \
629629
list_item_fail 'Unable to detect any sound cards!'
630630
fi
631631
else
632-
list_item_pass "Sinks detected: ${BCLD_SINKS}"
632+
list_item_pass "Sound card(s) found!"
633633
fi
634634
# SINKS found with pactl and output in JSON. Used throughout code
635635
SINKS_JSON="$(/usr/bin/pactl --format json list sinks)"

0 commit comments

Comments
 (0)