Skip to content

Commit

Permalink
Adding new os='generic' profiling (resolves product name to SUSE Linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsundermeyer committed Apr 17, 2023
1 parent 43bf24a commit 05ecff5
Show file tree
Hide file tree
Showing 42 changed files with 42 additions and 11 deletions.
2 changes: 0 additions & 2 deletions DC-alp-bedrock
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

MAIN="ALP.asm.xml"
SRC_DIR="articles"
ASSEMBLY="yes"
# ASSEMBLY_DIR="xml"

STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns"
DOCBOOK5_RNG_URI="urn:x-suse:rng:v2:geekodoc-flat"
Expand Down
2 changes: 0 additions & 2 deletions DC-alp-micro
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

MAIN="ALP.asm.xml"
SRC_DIR="articles"
ASSEMBLY="yes"
# ASSEMBLY_DIR="xml"

STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2022-ns"
DOCBOOK5_RNG_URI="urn:x-suse:rng:v2:geekodoc-flat"
Expand Down
2 changes: 1 addition & 1 deletion DC-bci-variants
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

MAIN="BCI.asm.xml"
SRC_DIR="articles"
ASSEMBLY="yes"
# ROOTID="bci-variants"

PROFOS="generic"
#PROFCONDITION="suse-product"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"
Expand Down
1 change: 1 addition & 0 deletions DC-concept-bci
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-bci.xml"
ROOTID="concept-bci"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-concept-bci-get-started
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-bci-get-started.xml"
ROOTID="concept-bci-get-started"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-concept-klp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-klp.xml"
ROOTID="concept-klp"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-concept-manage-virtual-machines-libvirt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-manage-virtual-machines-libvirt.xml"
ROOTID="concept-manage-virtual-machines-libvirt"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-concept-minimal-vm
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-minimal-vm.xml"
ROOTID="concept-minimal-vm"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-concept-securing-with-systemd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-securing-with-systemd.xml"
ROOTID="concept-securing-with-systemd"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-concept-sudo
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-sudo.xml"
ROOTID="concept-sudo"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-concept-systemd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-systemd.xml"
ROOTID="concept-systemd"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-concept-time-synchronization-ntp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-time-synchronization-ntp.xml"
ROOTID="concept-time-synchronization-ntp"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-concept-virtual-disk-cache-modes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-virtual-disk-cache-modes.xml"
ROOTID="concept-virtual-disk-cache-modes"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-concept-virtualization
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-virtualization.xml"
ROOTID="concept-virtualization"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-concept-zypper
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="concept-zypper.xml"
ROOTID="concept-zypper"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-reference-connection-accounting-utilities
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="reference-connection-accounting-utilities.xml"
ROOTID="reference-connection-accounting-utilities"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-reference-managing-systemd-targets-systemctl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="reference-systemctl-managing-targets.xml"
ROOTID="reference-systemctl-managing-targets"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-reference-network-bonding-teaming-comparison
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ MAIN="reference-network-bonding-teaming-comparison.xml"
ROOTID="reference-network-bonding-teaming-comparison"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-reference-systemctl-enable-disable-services
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="reference-systemctl-enable-disable-services.xml"
ROOTID="reference-systemctl-enable-disable-services"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-reference-systemctl-start-stop-services
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="reference-systemctl-start-stop-services.xml"
ROOTID="reference-systemctl-start-stop-services"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-reference-zypper-install
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="reference-zypper-install.xml"
ROOTID="reference-zypper-install"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
2 changes: 1 addition & 1 deletion DC-systemd-working-with-timers
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MAIN="systemd-timer-working-with.asm.xml"
SRC_DIR="articles"

## Profiling
#PROFOS="sles"
PROFOS="generic"
#PROFARCH="x86_64;zseries;power;aarch64"

## stylesheet location
Expand Down
1 change: 1 addition & 0 deletions DC-task-add-modules-extensions-after-installation
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-add-modules-extensions-after-installation.xml"
ROOTID="task-add-modules-extensions-after-installation"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-assign-pci-device-libvirt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-assign-pci-device-libvirt.xml"
ROOTID="task-assign-pci-device-libvirt"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
2 changes: 1 addition & 1 deletion DC-task-check-cpu-temperature
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
MAIN="task-check-cpu-temperature.xml"
# ROOTID=""

PROFCONDITION="sle"
PROFCONDITION="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-configure-network-bonding
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ MAIN="task-configure-network-bonding.xml"
ROOTID="task-configure-network-bonding"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-configure-network-teaming
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ MAIN="task-configure-network-teaming.xml"
ROOTID="task-configure-network-teaming"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-configure-ntp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-configure-ntp.xml"
ROOTID="task-configure-ntp"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-configure-sudo
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-configure-sudo.xml"
ROOTID="task-configure-sudo"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-configure-virtual-machine-manager
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-configure-virtual-machine-manager.xml"
ROOTID="task-configure-virtual-machine-manager"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-create-systemd-timers
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-create-systemd-timers.xml"
ROOTID="task-create-systemd-timers"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-debug-failed-systemd-services
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-debug-failed-systemd-services.xml"
# ROOTID="task-example"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-delete-modules-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-delete-modules-extensions.xml"
ROOTID="task-delete-modules-extensions"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-forward-root-mail
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-forward-root-mail.xml"
ROOTID="task-forward-root-mail"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-install-virtualization-components
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-install-virtualization-components.xml"
ROOTID="task-install-virtualization-components"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-modify-kernel-boot-parameter
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
MAIN="task-modify-kernel-boot-parameters.xml"
ROOTID=""

PROFOS="generic"
# PROFCONDITION="suse-product"
# PROFCONDITION="suse-product;beta"
# PROFCONDITION="community-project"
Expand Down
2 changes: 1 addition & 1 deletion DC-task-register-deregister-product-after-installation
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ MAIN="task-register-deregister-product-after-installation.xml"
ROOTID="task-register-product-after-installation"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"
PROFOS="sles"

DRAFT=1

Expand Down
1 change: 1 addition & 0 deletions DC-task-send-termination-signals-systemd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-send-termination-signals-systemd.xml"
ROOTID="task-send-termination-signals-systemd"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-set-up-uefi-http-boot-server
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-set-up-uefi-http-boot-server.xml"
ROOTID="task-set-up-uefi-http-boot-server"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-setup-free-radius-server
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-setup-free-radius-server.xml"
ROOTID="task-setup-free-radius-server"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
1 change: 1 addition & 0 deletions DC-task-working-sudo
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAIN="task-working-sudo.xml"
ROOTID="task-working-sudo"

PROFCONDITION="suse-product"
PROFOS="generic"
#PROFCONDITION="suse-product;beta"
#PROFCONDITION="community-project"

Expand Down
6 changes: 3 additions & 3 deletions common/product-entities.ent
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<!-- This file can be edited downstream. -->

<!-- PRODUCT NAME AND VERSIONS -->
<!-- Use "&generic;" for everything not ALP and SLE Micro -->
<!ENTITY codename "<phrase xmlns='http://docbook.org/ns/docbook'><phrase os='alp-micro'>Micro</phrase><phrase os='alp-bedrock'>Bedrock</phrase></phrase>">
<!ENTITY productname "<phrase xmlns='http://docbook.org/ns/docbook'><phrase os='alp-micro'>&suse; ALP &codename;</phrase><phrase os='alp-bedrock'>&suse; ALP &codename;</phrase><phrase os='slemicro'>&slem;</phrase><phrase os='sles'>&sles;</phrase></phrase>">
<!ENTITY productnameshort "<phrase xmlns='http://docbook.org/ns/docbook'><phrase os='alp-micro'>ALP &codename;</phrase><phrase os='alp-bedrock'>ALP &codename;</phrase><phrase os='slemicro'>&slema;</phrase></phrase>">
<!ENTITY productname "<phrase xmlns='http://docbook.org/ns/docbook'><phrase os='alp-micro'>&suse; ALP &codename;</phrase><phrase os='alp-bedrock'>&suse; ALP &codename;</phrase><phrase os='slemicro'>&slem;</phrase><phrase os='generic'>&suselinux;</phrase></phrase>">
<!ENTITY productnameshort "<phrase xmlns='http://docbook.org/ns/docbook'><phrase os='alp-micro'>ALP &codename;</phrase><phrase os='alp-bedrock'>ALP &codename;</phrase><phrase os='slemicro'>&slema;</phrase><phrase os='generic'>&suselinux;</phrase></phrase>">
<!ENTITY productnumber "<phrase xmlns='http://docbook.org/ns/docbook'><phrase os='alp-micro;alp-bedrock'>0.1</phrase><phrase os='slemicro'>5.4</phrase></phrase>">


<!-- PROJECT REPOSITORY URL -->
<!ENTITY repo-url "https://github.com/SUSE/doc-modular">
<!ENTITY repo-readme "&repo-url;/blob/main/README.adoc">
Expand Down

0 comments on commit 05ecff5

Please sign in to comment.