forked from uyuni-project/uyuni
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Raspberry Pi OS 12 support (uyuni-project#7852)
* Add Raspbian OS 12 Co-authored-by: Julio González Gil <juliogonzalez@users.noreply.github.com>
- Loading branch information
1 parent
9e1ee26
commit a04d914
Showing
13 changed files
with
395 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Add schema definition and migration for armhf |
96 changes: 96 additions & 0 deletions
96
schema/spacewalk/upgrade/susemanager-schema-4.4.8-to-susemanager-schema-4.4.9/120-armhf.sql
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
insert into rhnCpuArch (id, label, name) select | ||
sequence_nextval('rhn_cpu_arch_id_seq'), 'armhf', 'ARMHF' from dual | ||
where not exists (select 1 from rhnCpuArch where label = 'armhf'); | ||
|
||
|
||
insert into rhnPackageArch (id, label, name, arch_type_id) select | ||
sequence_nextval('rhn_package_arch_id_seq'), 'armhf-deb', 'ARMHF-deb', lookup_arch_type('deb') from dual | ||
where not exists (select 1 from rhnPackageArch where label = 'armhf-deb'); | ||
|
||
|
||
insert into rhnServerArch (id, label, name, arch_type_id) select | ||
sequence_nextval('rhn_server_arch_id_seq'), 'armhf-debian-linux', 'ARMHF Debian', lookup_arch_type('deb') from dual | ||
where not exists (select 1 from rhnServerArch where label = 'armhf-debian-linux'); | ||
|
||
|
||
insert into rhnChannelArch (id, label, name, arch_type_id) select | ||
sequence_nextval('rhn_channel_arch_id_seq'), 'channel-armhf-deb', 'ARMHF Debian', lookup_arch_type('deb') from dual | ||
where not exists (select 1 from rhnChannelArch where label = 'channel-armhf-deb'); | ||
|
||
|
||
insert into rhnPackageUpgradeArchCompat (package_arch_id, package_upgrade_arch_id, created, modified) select | ||
LOOKUP_PACKAGE_ARCH('armhf-deb'), LOOKUP_PACKAGE_ARCH('all-deb'), current_timestamp, current_timestamp from dual | ||
where not exists (select 1 from rhnPackageUpgradeArchCompat where package_arch_id = LOOKUP_PACKAGE_ARCH('armhf-deb') and package_upgrade_arch_id = LOOKUP_PACKAGE_ARCH('all-deb')); | ||
|
||
insert into rhnPackageUpgradeArchCompat (package_arch_id, package_upgrade_arch_id, created, modified) select | ||
LOOKUP_PACKAGE_ARCH('armhf-deb'), LOOKUP_PACKAGE_ARCH('armhf-deb'), current_timestamp, current_timestamp from dual | ||
where not exists (select 1 from rhnPackageUpgradeArchCompat where package_arch_id = LOOKUP_PACKAGE_ARCH('armhf-deb') and package_upgrade_arch_id = LOOKUP_PACKAGE_ARCH('armhf-deb')); | ||
|
||
insert into rhnPackageUpgradeArchCompat (package_arch_id, package_upgrade_arch_id, created, modified) select | ||
LOOKUP_PACKAGE_ARCH('all-deb'), LOOKUP_PACKAGE_ARCH('armhf-deb'), current_timestamp, current_timestamp from dual | ||
where not exists (select 1 from rhnPackageUpgradeArchCompat where package_arch_id = LOOKUP_PACKAGE_ARCH('all-deb') and package_upgrade_arch_id = LOOKUP_PACKAGE_ARCH('armhf-deb')); | ||
|
||
|
||
insert into rhnChannelPackageArchCompat (channel_arch_id, package_arch_id) select | ||
LOOKUP_CHANNEL_ARCH('channel-armhf-deb'), LOOKUP_PACKAGE_ARCH('armhf-deb') from dual | ||
where not exists (select 1 from rhnChannelPackageArchCompat where channel_arch_id = LOOKUP_CHANNEL_ARCH('channel-armhf-deb') and package_arch_id = LOOKUP_PACKAGE_ARCH('armhf-deb')); | ||
|
||
insert into rhnChannelPackageArchCompat (channel_arch_id, package_arch_id) select | ||
LOOKUP_CHANNEL_ARCH('channel-armhf-deb'), LOOKUP_PACKAGE_ARCH('all-deb') from dual | ||
where not exists (select 1 from rhnChannelPackageArchCompat where channel_arch_id = LOOKUP_CHANNEL_ARCH('channel-armhf-deb') and package_arch_id = LOOKUP_PACKAGE_ARCH('all-deb')); | ||
|
||
insert into rhnChannelPackageArchCompat (channel_arch_id, package_arch_id) select | ||
LOOKUP_CHANNEL_ARCH('channel-armhf-deb'), LOOKUP_PACKAGE_ARCH('src-deb') from dual | ||
where not exists (select 1 from rhnChannelPackageArchCompat where channel_arch_id = LOOKUP_CHANNEL_ARCH('channel-armhf-deb') and package_arch_id = LOOKUP_PACKAGE_ARCH('src-deb')); | ||
|
||
|
||
insert into rhnServerChannelArchCompat (server_arch_id, channel_arch_id) select | ||
LOOKUP_SERVER_ARCH('armhf-debian-linux'), LOOKUP_CHANNEL_ARCH('channel-armhf-deb') from dual | ||
where not exists (select 1 from rhnServerChannelArchCompat where server_arch_id = LOOKUP_SERVER_ARCH('armhf-debian-linux') and channel_arch_id = LOOKUP_CHANNEL_ARCH('channel-armhf-deb')); | ||
|
||
|
||
insert into rhnServerPackageArchCompat (server_arch_id, package_arch_id, preference) select | ||
LOOKUP_SERVER_ARCH('armhf-debian-linux'), LOOKUP_PACKAGE_ARCH('armhf-deb'), 0 from dual | ||
where not exists (select 1 from rhnServerPackageArchCompat where server_arch_id = LOOKUP_SERVER_ARCH('armhf-debian-linux') and package_arch_id = LOOKUP_PACKAGE_ARCH('armhf-deb')); | ||
|
||
insert into rhnServerPackageArchCompat (server_arch_id, package_arch_id, preference) select | ||
LOOKUP_SERVER_ARCH('armhf-debian-linux'), LOOKUP_PACKAGE_ARCH('all-deb'), 1000 from dual | ||
where not exists (select 1 from rhnServerPackageArchCompat where server_arch_id = LOOKUP_SERVER_ARCH('armhf-debian-linux') and package_arch_id = LOOKUP_PACKAGE_ARCH('all-deb')); | ||
|
||
|
||
|
||
insert into rhnServerServerGroupArchCompat ( server_arch_id, server_group_type) select | ||
lookup_server_arch('armhf-debian-linux'), lookup_sg_type('enterprise_entitled') from dual | ||
where not exists (select 1 from rhnServerServerGroupArchCompat where server_arch_id = lookup_server_arch('armhf-debian-linux') and server_group_type = lookup_sg_type('enterprise_entitled')); | ||
|
||
insert into rhnServerServerGroupArchCompat ( server_arch_id, server_group_type) select | ||
lookup_server_arch('armhf-debian-linux'), lookup_sg_type('virtualization_host') from dual | ||
where not exists (select 1 from rhnServerServerGroupArchCompat where server_arch_id = lookup_server_arch('armhf-debian-linux') and server_group_type = lookup_sg_type('virtualization_host')); | ||
|
||
insert into rhnServerServerGroupArchCompat ( server_arch_id, server_group_type) select | ||
lookup_server_arch('armhf-debian-linux'), lookup_sg_type('bootstrap_entitled') from dual | ||
where not exists (select 1 from rhnServerServerGroupArchCompat where server_arch_id = lookup_server_arch('armhf-debian-linux') and server_group_type = lookup_sg_type('bootstrap_entitled')); | ||
|
||
insert into rhnServerServerGroupArchCompat ( server_arch_id, server_group_type) select | ||
lookup_server_arch('armhf-debian-linux'), lookup_sg_type('salt_entitled') from dual | ||
where not exists (select 1 from rhnServerServerGroupArchCompat where server_arch_id = lookup_server_arch('armhf-debian-linux') and server_group_type = lookup_sg_type('salt_entitled')); | ||
|
||
insert into rhnServerServerGroupArchCompat ( server_arch_id, server_group_type) select | ||
lookup_server_arch('armhf-debian-linux'), lookup_sg_type('foreign_entitled') from dual | ||
where not exists (select 1 from rhnServerServerGroupArchCompat where server_arch_id = lookup_server_arch('armhf-debian-linux') and server_group_type = lookup_sg_type('foreign_entitled')); | ||
|
||
insert into rhnServerServerGroupArchCompat ( server_arch_id, server_group_type) select | ||
lookup_server_arch('armhf-debian-linux'), lookup_sg_type('container_build_host') from dual | ||
where not exists (select 1 from rhnServerServerGroupArchCompat where server_arch_id = lookup_server_arch('armhf-debian-linux') and server_group_type = lookup_sg_type('container_build_host')); | ||
|
||
insert into rhnServerServerGroupArchCompat ( server_arch_id, server_group_type) select | ||
lookup_server_arch('armhf-debian-linux'), lookup_sg_type('monitoring_entitled') from dual | ||
where not exists (select 1 from rhnServerServerGroupArchCompat where server_arch_id = lookup_server_arch('armhf-debian-linux') and server_group_type = lookup_sg_type('monitoring_entitled')); | ||
|
||
|
||
insert into rhnChildChannelArchCompat (parent_arch_id, child_arch_id) select | ||
LOOKUP_CHANNEL_ARCH('channel-armhf-deb'), LOOKUP_CHANNEL_ARCH('channel-armhf-deb') from dual | ||
where not exists (select 1 from rhnChildChannelArchCompat where parent_arch_id = LOOKUP_CHANNEL_ARCH('channel-armhf-deb') and child_arch_id = LOOKUP_CHANNEL_ARCH('channel-armhf-deb')); | ||
|
||
commit; | ||
|
This file contains 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
1 change: 1 addition & 0 deletions
1
spacewalk/certs-tools/spacewalk-certs-tools.changes.raul.raspbian
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Change wrong name in unexisting variable ORG_CERT_FILE to CERT_FILE for rhn_bootstrap_strings.py |
This file contains 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
1 change: 1 addition & 0 deletions
1
susemanager-utils/susemanager-sls/susemanager-sls.changes.raul.raspbian
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Add Raspberry Pi OS 12 support |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- Add bootstrap repository definitions for Raspberry Pi OS 12 |
This file contains 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
Oops, something went wrong.