Repository navigation
base: catch up skillfishos-kernel on 26.06 installs, add usb-modeswitch - #139
Merged
Merged
Conversation
Issue #137: installs from the 26.06.5 image still never get skillfishos-kernel. Its Recommends (#103) arrived while 00recommends was still on, apt skipped it, and apt only installs a Recommends that is new in the upgraded version. A changed version constraint does not count as new (checked with apt 3.3.7), and an image installed today reaches this version in one upgrade with 00recommends still read by that apt. So base's postinst schedules a transient unit that installs the wrapper once the running apt lets go of the lock: only where the 00recommends backup proves the system came from such an image, only if dpkg never had the wrapper selected and apt never removed it, and only until it worked once. Issue #136: usb-modeswitch and usb-modeswitch-data were documented in docs/OPTIMIZATIONS.md but installed by nothing; base now depends on them. Issue #126: README and docs/BUILD.md said kernel 7.2.9, the archive serves 7.3.4. The 26.06.5 edition table now says what the images carry (7.2.5) and what the first update brings. Code scanning #542: the comment explaining the empty except moves into the except.
This was referenced Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
#137 — installs from the 26.06.5 image never get
skillfishos-kernel. TheRecommendsadded for #103 reached those systems while live-build's00recommendswas still active, so apt skipped it. apt only installs a Recommends that is new in the upgraded version, so once skipped it is never offered again. Two things ruled out the simple fixes:skillfishos-kernel (>= 7.3.4-1)) does not count as new — checked with an isolatedapt-get -ssimulation on apt 3.3.7;00recommendsbefore base's postinst moves it away.So base's postinst now schedules a transient unit (
systemd-run --on-active=30,apt-get -o DPkg::Lock::Timeout=3600 install skillfishos-kernel), the same pattern the wrapper uses for its kernel. It fires only when:/var/backups/skillfish/00recommends.live-buildexists (the system came from an image without Recommends),/var/lib/skillfish/kernel-catchup.doneis absent (written on success, so it runs until it works once).#136 —
usb-modeswitch+usb-modeswitch-datawere documented indocs/OPTIMIZATIONS.mdbut installed by nothing. base now depends on them.#126 — README and
docs/BUILD.mdsaid kernel 7.2.9; the archive serves 7.3.4. The 26.06.5 edition table now says what the images actually carry (7.2.5) and what the first update brings. The wiki pages were updated separately.Code scanning #542 — the comment explaining the empty
exceptmoves inside it. (#541, the world-readable chmod, is intended and gets dismissed.)Release notes for 26.11.4 are in the base metainfo, 9 languages.
Area
Testing
bc250-dev), kernel 7.3.4-skillfishos, apt 3.3.7.build-debs-ci.shwith only the target package and paths swapped, ran inside a dummy package installed by apt:Refs #136, #137 (to be closed when 26.11.4 is published). Closes #126.