File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,6 +152,7 @@ class InfoDict(TypedDict):
152152 "system-release" ,
153153 "plesk-release" ,
154154 "iredmail-release" ,
155+ "board-release" ,
155156)
156157
157158
Original file line number Diff line number Diff line change 1+ # PLEASE DO NOT EDIT THIS FILE
2+ BOARD=h616
3+ BOARD_NAME="BTT-CB1"
4+ DISTRIBUTION_CODENAME=bullseye
5+ VERSION=2.3.1
6+ LINUXFAMILY=sun50iw9
7+ ARCH=arm64
8+ INITRD_ARCH=arm64
9+ BRANCH=current
Original file line number Diff line number Diff line change 1+ PRETTY_NAME="BTT-CB1 2.3.1 Bullseye"
2+ NAME="Debian GNU/Linux"
3+ VERSION_ID="11"
4+ VERSION="11 (bullseye)"
5+ VERSION_CODENAME=bullseye
6+ ID=debian
7+ HOME_URL="https://www.debian.org/"
8+ SUPPORT_URL="https://www.debian.org/support"
9+ BUG_REPORT_URL="https://bugs.debian.org/"
Original file line number Diff line number Diff line change 1+ PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
2+ NAME="Debian GNU/Linux"
3+ VERSION_ID="11"
4+ VERSION="11 (bullseye)"
5+ VERSION_CODENAME=bullseye
6+ ID=debian
7+ HOME_URL="https://www.debian.org/"
8+ SUPPORT_URL="https://www.debian.org/support"
9+ BUG_REPORT_URL="https://bugs.debian.org/"
Original file line number Diff line number Diff line change @@ -522,6 +522,21 @@ def test_altlinux10_os_release(self) -> None:
522522 }
523523 self ._test_outcome (desired_outcome )
524524
525+ def test_bttcb1_os_release (self ) -> None :
526+ desired_outcome = {
527+ "id" : "debian" ,
528+ "codename" : "bullseye" ,
529+ "name" : "Debian GNU/Linux" ,
530+ "pretty_name" : "BTT-CB1 2.3.1 Bullseye" ,
531+ "like" : "" ,
532+ "version" : "11" ,
533+ "pretty_version" : "11 (bullseye)" ,
534+ "best_version" : "11" ,
535+ "major_version" : "11" ,
536+ "minor_version" : "0" ,
537+ }
538+ self ._test_outcome (desired_outcome )
539+
525540
526541class TestWithRootDir (TestOSRelease ):
527542 """Test that a LinuxDistribution can be created using an arbitrary root_dir
You can’t perform that action at this time.
0 commit comments