Skip to content

[hardknott] audit 2-6: deprecated logic#486

Merged
amstewart merged 6 commits intoni:nilrt/master/hardknottfrom
amstewart:dev/hardknott/audit2/6-deprecated-logic
Oct 21, 2022
Merged

[hardknott] audit 2-6: deprecated logic#486
amstewart merged 6 commits intoni:nilrt/master/hardknottfrom
amstewart:dev/hardknott/audit2/6-deprecated-logic

Conversation

@amstewart
Copy link
Contributor

This PR removes branching logic from recipes which behave differently when the MACHINE type is set to arm or the DISTRO is set to nilrt-nxg. The former is inappropriate because the hardknott mainline does not support ARM; the later is inappropriate because the nilrt-nxg distro has been deprecated for years.

In a couple recipes (initscripts-nilrt* and packagegroup-ni-xfce), when I collapsed the branching logic into a generic variable, I also sorted the variable's elements - which is why some variable diffs show more changes than you would otherwise expect. They're just sorts.

Testing

  • Rebuilt the core packagefeed and images with these changes and created a VM. The VM boots and gettys correctly.

The hardknott mainline does not support ARM, and the nisdbootconfig
recipe has been dropped from the distribution.

Remove the unused ARM logic.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
This commit functionally reverts meta-nilrt commit
da648a5.

The ARCH_ABI_EXT variable extends the OE-native ABIEXTENSION variable to
include an `hf` suffix, if the machine is tuned with the hardfloat call
convention. base-files-nilrt then uses that expanded ABI to namespace
multiarch libs.

Hardfloat is only relevant to ARM machines, which hardknott does not
support. Remove this logic, as it is no longer needed.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Alex Stewart <alex.stewart@ni.com>
The hardknott mainline currently only supports x64 architectures.

Merge the x64-append recipe logic into the default recipe variables.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
`nilrt-nxg` is no longer a supported distro flavor; remove logic which
references it.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
The hardknott mainline only supports x64 architectures, so consolidate
the pkggrp RDEPENDS for x64 into the default variable.

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
@amstewart amstewart requested review from a team and shruthi-ravi October 20, 2022 16:44
@amstewart amstewart merged commit 64a8660 into ni:nilrt/master/hardknott Oct 21, 2022
@amstewart amstewart deleted the dev/hardknott/audit2/6-deprecated-logic branch October 21, 2022 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants