From 6f53c924d71b9d32d73b062e3625495775c28d27 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 16 Sep 2019 08:37:29 -0500 Subject: req: 3b: Add more verification requirements --- devel/requirements/3b_runner.xml | 28 ++++++++++++++++++++++ devel/requirements/verification-list | 45 ++++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 devel/requirements/verification-list diff --git a/devel/requirements/3b_runner.xml b/devel/requirements/3b_runner.xml index 8defbe5..910546f 100644 --- a/devel/requirements/3b_runner.xml +++ b/devel/requirements/3b_runner.xml @@ -194,6 +194,34 @@ Runner.Verify.rootpw.Crypt The system shall verify that the value for the rootpw key is in the format: $, either 2 for Blowfish or 6 for SHA-512, $, and then variant data. + + Runner.Verify.language + If a language key is present in the HorizonScript, the system shall verify that the HorizonScript contains exactly one language key. + + + Runner.Verify.language.Format + The system shall verify that the value of the language key, if present, is a valid ISO 639-1 language code, optionally followed by an ASCII underscore (_) and ISO 3166-1 country code, optionally followed by the string literal .UTF-8. + + + Runner.Verify.keymap + If a keymap key is present in the HorizonScript, the system shall verify that the HorizonScript contains exactly one keymap key. + + + Runner.Verify.keymap.Valid + The system shall verify that the value of the keymap key, if present, is a valid keyboard layout available for use in an Adélie Linux system. + + + Runner.Verify.firmware + The system shall verify that the HorizonScript contains at most one firmware key. + + + Runner.Verify.firmware.Boolean + The system shall verify that the value of the firmware key, if present, is either true or false. + + + Runner.Verify.firmware.ForceOff + If the system is running in an installation environment, and the system has firmware support compiled out, the system shall verify that the value of the firmware key is false. +
diff --git a/devel/requirements/verification-list b/devel/requirements/verification-list new file mode 100644 index 0000000..287ee63 --- /dev/null +++ b/devel/requirements/verification-list @@ -0,0 +1,45 @@ +Required Keys + +✓ network +✓ hostname +✓ pkginstall +✓ rootpw + +Optional Keys + +✓ language +✓ keymap +✓ firmware +✓ netaddress +✓ nameserver +✓ netssid + timezone + repository + signingkey + username + useralias + userpw + usericon + usergroups + +Disk Partitioning Keys + +- Sizing + diskid + disklabel + partition + lvm_pv + lvm_vg + lvm_lv + encrypt + fs + mount + +Other + + Packages present in repositories (runtime only) + +Misc + + really should have a design spec for the CLI / GUI + should errors be more formally defined? probably just waste of time tbh -- cgit v1.2.3-60-g2f50