Skip to content

Commit

Permalink
udpate code
Browse files Browse the repository at this point in the history
  • Loading branch information
paolostivanin committed Oct 21, 2024
1 parent ee01f59 commit 6ec5c45
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/security_boot_utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@ our @EXPORT = qw(

sub boot_has_no_video {
my $is_encrypted = check_var('FULL_LVM_ENCRYPT', '1') || check_var('ENCRYPT', '1');
my $is_qr = check_var('FLAVOR', 'Online-QR') || check_var('FLAVOR', 'Full-QR');
my $is_arch = is_aarch64() || is_s390x();
my $is_aarch_sle15sp6 = is_aarch64 && is_sle('=15-SP6');
return (($is_encrypted && $is_qr && $is_arch) || ($is_encrypted && $is_aarch_sle15sp6));
my $is_arch = is_aarch64();
return ($is_encrypted && $is_arch);
}

sub boot_encrypt_no_video {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
name: create_hdd_common_criteria
description: For 15-SP3, 15-SP4 and 15-SP5 maintenance installation for CC
vars:
PATTERNS: 'default,-enhanced_base'
YUI_REST_API: 1
Expand Down
27 changes: 27 additions & 0 deletions schedule/security/create_hdd_cc_libyui/aarch64/cc_maint_15sp6.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: create_hdd_common_criteria
description: For 15-SP6+ maintenance installation for CC
vars:
PATTERNS: 'default,-enhanced_base'
YUI_REST_API: 1
schedule:
access_beta: []
add_on_product:
- installation/add_on_product/add_maintenance_repos
additional_products: []
system_role:
- installation/system_role/select_common_criteria_role
- installation/common_criteria_configuration/common_criteria_configuration
software:
- installation/select_patterns
grub: []
first_login:
- security/boot_disk
system_preparation:
- console/hostname
- console/system_prepare
- console/force_scheduled_tasks
- security/cc/ensure_crypto_checks_enabled
- shutdown/grub_set_bootargs
- shutdown/cleanup_before_shutdown
- shutdown/shutdown

0 comments on commit 6ec5c45

Please sign in to comment.