plc-checkweigher 1.23.0 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1362,7 +1362,8 @@ PYEOF
1362
1362
  # 3. Boot cmdline parameters
1363
1363
  spin_start "Boot cmdline (quiet splash)"
1364
1364
  _CMD_MISSING=""
1365
- for _param in "quiet" "splash" "logo.nologo" "systemd.show_status=0"; do
1365
+ for _param in "quiet" "splash" "logo.nologo" "systemd.show_status=0" \
1366
+ "plymouth.ignore-serial-consoles"; do
1366
1367
  grep -q "$_param" /boot/firmware/cmdline.txt 2>/dev/null \
1367
1368
  || _CMD_MISSING="${_CMD_MISSING} ${_param}"
1368
1369
  done
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plc-checkweigher",
3
- "version": "1.23.0",
3
+ "version": "1.24.0",
4
4
  "description": "One-command installer for the PLC Check-Weigher system on Raspberry Pi (PREEMPT_RT kernel, Python stack, WiFi, SMB, systemd RT services)",
5
5
  "scripts": {
6
6
  "postinstall": "node bin/cli.js"
package/setup.sh CHANGED
@@ -510,8 +510,11 @@ EOF
510
510
  sed -i 's/$/ logo.nologo/' /boot/firmware/cmdline.txt
511
511
  fi
512
512
  sed -i 's/loglevel=3/loglevel=1/' /boot/firmware/cmdline.txt 2>/dev/null || true
513
- # Silence systemd service status lines + udev on the console
514
- for _param in "systemd.show_status=0" "rd.systemd.show_status=0" "udev.log_level=3"; do
513
+ # Silence systemd service status lines + udev on the console.
514
+ # plymouth.ignore-serial-consoles is CRITICAL: with console=serial0 in
515
+ # cmdline, Plymouth falls back to text mode and no splash renders at all.
516
+ for _param in "systemd.show_status=0" "rd.systemd.show_status=0" \
517
+ "udev.log_level=3" "plymouth.ignore-serial-consoles"; do
515
518
  grep -q "$_param" /boot/firmware/cmdline.txt \
516
519
  || sed -i "s/\$/ ${_param}/" /boot/firmware/cmdline.txt
517
520
  done