Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Onboard: Add onboard virtual keyboard to scarthgap #734

Closed
wants to merge 147 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
510b797
conf: move templates
amstewart Nov 30, 2023
6c5a000
kernel-performance-tests: Add container load test
chaitu236 Nov 29, 2023
8cd2c62
layer.conf: assert nanbield compatibility
amstewart Dec 1, 2023
0b1fe79
linux-nilrt-nohz: Downgrade to 5.15 kernel
Sep 15, 2023
15cd89f
ni-rtfeatures: fixup spelling in initscript
amstewart Dec 5, 2023
e7a3d3e
ni-rtfeatures: handle poweron reset_source
amstewart Dec 5, 2023
d553da2
k-cont-perf-tests: print run-cyclictest output
dylan-matthew-turner Dec 5, 2023
f0d5fe6
ptest-runner: add a user/group for ptest
amstewart Dec 11, 2023
6cabd05
mousepad: upgrade bbappend to 0.6.%
amstewart Dec 11, 2023
3ec3437
procps: make bbappend apply to all versions
amstewart Dec 11, 2023
f540e35
gnupg: remove bbappend
amstewart Dec 12, 2023
aa156cf
syslog-ng: upgrade bbappend to 4.%
amstewart Dec 12, 2023
e1e26ad
onboard: remove recipe
amstewart Dec 12, 2023
081bbf4
uutils-coreutils: remove selinux PACKAGECONFIG
amstewart Dec 13, 2023
e9e77a4
curl; upgrade bbappend to 8.4.0
amstewart Dec 13, 2023
86a44ca
glibc: add upstream-status trailer to patch
amstewart Dec 13, 2023
eab3533
util-linux: drop satisfied backport
amstewart Dec 13, 2023
f310f3b
initscripts: add upstream-status to patches
amstewart Dec 13, 2023
04e7129
docker-functional-tests: correct docker RDEPENDS
amstewart Dec 13, 2023
2f5b330
busybox: fixup upstream-status trailer in patches
amstewart Dec 13, 2023
780254b
xinput-calibrator: add upstream-status trailer
amstewart Dec 15, 2023
cf08374
grub: add .patch upstream-status trailers
amstewart Dec 15, 2023
7a6b4ab
valgrind: add .patch upstream-status trailers
amstewart Dec 15, 2023
cb3cc7e
xserver-xfce-init: remove unnecessary gplv2 .patch
amstewart Dec 15, 2023
c796a09
kernel-*-performance-tests: re-factor common files
gratian Dec 13, 2023
11dd767
kernel-containerized-performance-tests: re-factor docker files
gratian Dec 13, 2023
13a4bdc
kernel-containerized-performance-tests: pull container build logic in…
gratian Dec 14, 2023
677d057
kernel-containerized-performance-tests: re-factor the need for wrappe…
gratian Dec 14, 2023
696352b
kernel-*-performance-tests: re-factor load wrapper scripts
gratian Dec 15, 2023
9fea47f
kernel-containerized-performance-tests: factor out docker calls
gratian Dec 15, 2023
43ffcb3
kernel-containerized-performance-tests: run two cyclictest containers…
gratian Dec 15, 2023
bb2109e
nilrt.conf: dump distro and feed versions for 24Q3
amstewart Jan 2, 2024
8ab7ed0
fio.cfg: Enable options to reduce memory footprint
chaitu236 Jan 3, 2024
bd0ff52
Revert "Revert "linux-nilrt-next: Bump version to latest 6.6 developm…
chaitu236 Jan 4, 2024
432f03c
kernel-performance-tests: Remove stopped containers
chaitu236 Jan 8, 2024
fb3dafe
linux-nilrt-nohz: add guidance for faster boots on some 9030s
jeminor Jan 10, 2024
dd34b15
kernel-tests: Add options to get current dmesg log from database
jpautler Jan 11, 2024
d041d7d
kernel-tests: Update debugging options
jpautler Jan 12, 2024
508d017
kernel-tests: fix detection of current vs next kernels
jpautler Jan 18, 2024
de2a050
kernel-tests: fix previous dmesg record selection logic
jpautler Jan 18, 2024
312186a
fw_printenv: Refactor variable printing and avoid duplicates
jeminor Jan 12, 2024
c36c84c
fw_printenv: Simplify GRUB variable printing
jeminor Jan 19, 2024
7af720c
python3-schema: add recipe
amstewart Jan 19, 2024
6f0b527
utf8cpp: add recipe
amstewart Jan 19, 2024
32843da
ni-grpc-device: upgrade to 2.4.0
amstewart Jan 22, 2024
7b6f77d
nilrt-recovery-media: fixup ISO symlink
amstewart Jan 25, 2024
4997272
nilrt-base-system-image: fixup runmode rootfs path
amstewart Jan 26, 2024
5440523
kernel-ctn-perf-tests: fixup docker RDEPENDS
amstewart Jan 26, 2024
8392073
pkggrp-ni-desirable: remove ntpdate
amstewart Jan 26, 2024
fcafbc8
pkggrp-ni-internal-deps: rm ni-grpc-device
amstewart Jan 26, 2024
65070b9
ni-hw-scripts-common: fixup allarch variables
amstewart Jan 29, 2024
fbf97fc
ni-rtfeatures: fixup allarch variables
amstewart Jan 29, 2024
201124f
fixup! fw_printenv: Simplify GRUB variable printing
jeminor Jan 22, 2024
5bad074
kernel-tests: add replacement pattern for filesystem UUIDs
jpautler Jan 22, 2024
d3787a1
fs_permissions_diff: Ignore all version changes
jeminor Jan 26, 2024
32bd887
fw_permissions_diff: Add command-line option for previous maniests
jeminor Jan 26, 2024
f978d8a
Revert "linux-nilrt-nohz: Downgrade to 5.15 kernel"
gratian Jan 29, 2024
68546d2
fw_permissions_diff: Run logrotate before running the test
jeminor Jan 31, 2024
d59e7f1
kernel-test-nohz: tweak latency limits for kernels >5.15
gratian Jan 31, 2024
b1a0257
kernel_tests: add rc patch version logic and fix rt-patch version logic
jpautler Jan 31, 2024
d27a45b
kernel-tests: shorten and simplify first line of test output
jpautler Feb 5, 2024
ecc3aaf
salt: remove deprecated RDEPENDS
amstewart Jan 30, 2024
888e74c
pkggrp-ni-runmode: remove deprecated packages
amstewart Jan 30, 2024
1a3394d
curl: rebase patches for curl 8.6.0
amstewart Feb 12, 2024
107bd15
glibc: reapply patches for glibc_2.39-22
amstewart Feb 12, 2024
01ac041
curl: drop nicurl patches and bbappends
amstewart Feb 14, 2024
fcc19e8
grub: reapply patches for grub 2.12
amstewart Feb 15, 2024
36ea91b
salt: remove python3-pytest-salt RDEP
amstewart Feb 15, 2024
50b8e7a
initrdscripts: remove efifix script
jpautler Feb 22, 2024
971c3d3
Replace egrep with grep -E in recovery tool files
jpautler Feb 22, 2024
1d80fbd
ni_provisioning: fix efibootmgr output parsing
jpautler Feb 23, 2024
2494471
pkggrp-ni-internal-deps: add ntfs-3g dep to PXI PS
Apr 8, 2024
6e6771f
opkg-utils: revert break to opkg-feeds
Apr 8, 2024
ef5ff03
layer.conf: Set layer compatibility to scarthgap
chaitu236 Apr 10, 2024
d4a2cc5
fs_permissions_diff: Modify the test to run from a developer machine
jpautler Apr 16, 2024
5cd749f
fs_permissions_diff: Display current manifest details in all cases
jpautler Apr 19, 2024
bd0b331
fs_permissions_diff: Fix run-time error caused by missing parameter
jpautler Apr 22, 2024
476d19b
fs_permissions_diff: Ensure recent manifest is not earlier than basis…
jpautler Apr 22, 2024
2d6a687
fixup! fs_permissions_diff: Ensure recent manifest is not earlier tha…
jpautler Apr 22, 2024
dfe607d
ni-systemimage: Remove unnecessary dependencies
chaitu236 Apr 17, 2024
5f564d9
ni-systemimage: Add getall
chaitu236 Apr 17, 2024
5187018
fs_permissions_diff: Make diff hash stable despite stripped versions
jpautler Apr 24, 2024
2f51522
ni-systeimage: Fix set functionality
chaitu236 Apr 24, 2024
e2bc4f0
ni-systemimage: Remove nigrubfs dir in cleanup
chaitu236 Apr 24, 2024
6d9cbd2
ni-systemimage: Add setall
chaitu236 Apr 19, 2024
5da3cf3
ni_provisioning.safemode: Split common code
chaitu236 Apr 22, 2024
14e3a31
ni-systemreplication: Add for USB replication
chaitu236 Apr 22, 2024
12ae662
fs_permissions_diff: Rename command line args to specify manifests
jpautler Apr 26, 2024
aa4fe56
fs_permissions_diff: Cleanup/improve logging output
jpautler Apr 29, 2024
9627f48
fs_permissions_diff: Pass dynamic command-line arguments
jpautler May 1, 2024
4432c89
recipes-devtools: Add python3-backports-ssl-match-hostname
May 9, 2024
266c8bf
salt: RDEPEND on charset-normalizer
May 10, 2024
2e53f49
Move Skyline RDEPENDS to packagegroup
May 10, 2024
045a3f7
packagefeed-ni-extra: temporarily disable unbuildable packages
rajendra-desai-ni May 13, 2024
7662609
passwd/group: add uid/gid for arpwatch
rajendra-desai-ni May 13, 2024
e0840fa
nisystemreplication: Initialize grubenv
chaitu236 Apr 25, 2024
d5cb7cf
grub_old.cfg: Add grub menu options for usb replication
chaitu236 May 1, 2024
eedf115
ni-netcfgutil: Add required dependencies to RDEPENDS
chaitu236 May 2, 2024
0abebf5
nilrt-recovery-media: Install nirtcfg
chaitu236 May 7, 2024
241b8c0
nisystemimage: Handle netcfg operations in setall
chaitu236 May 7, 2024
c5fd7cb
populateconfig: Check for directory presence before creating links
chaitu236 May 8, 2024
51a77e3
grub.cfg: Replace grub.cfg with grub_old.cfg
chaitu236 May 10, 2024
88360d7
cyclictest-container: install influxdb with apt
rajendra-desai-ni May 17, 2024
496a073
nisystemreplication: Improve error msg
chaitu236 May 16, 2024
44dd9b4
nisystemreplication: Custom image name for "Get Image"
chaitu236 May 23, 2024
56191de
nisystemreplication: Custom image name for "Set Image"
chaitu236 May 24, 2024
2ed060b
nisystemreplication: Ask user for confirmation
chaitu236 May 27, 2024
3f3f175
nisystemreplication: Check if image fits on media
chaitu236 May 28, 2024
8eae7a7
nisystemreplication: Mount NIRECOVERY async
chaitu236 May 28, 2024
8e418d6
nisystemreplication: Add compatibility checks
chaitu236 May 28, 2024
024b8cc
nisystemreplication: Add support for answers file
chaitu236 May 29, 2024
5a8f5ae
nisystemimage: Show progress for get and set
chaitu236 May 17, 2024
ec4f425
nisystemimage: Disable progress bar by default
chaitu236 May 30, 2024
95741ae
nisystemreplication: Replicate ext4 features
chaitu236 Jun 27, 2024
3e903c7
nisystemreplication: Detect unsupported fs features during "Get Image"
chaitu236 Jun 27, 2024
2ed5683
rtgroups: set priority for ktimers/*
gratian Aug 5, 2024
86dc2a1
nilrt.conf: Bump NILRT_FEED_NAME
chaitu236 Aug 5, 2024
1c98ae3
kernel-test-nohz: use 'tsc=reliable'
gratian Aug 5, 2024
adf02cd
kernel-test-nohz: run test at FIFO/1
gratian Aug 5, 2024
fb8be7d
kernel-test-nohz: fix max latency check in validate_results
gratian Aug 7, 2024
8b84d2d
kernel_dmesg_diff.py: Update the software IO TLB filter rule.
erickshepherdNI Aug 12, 2024
c683180
packagegroups: add pkggrp-ni-snac
Aug 13, 2024
2b025f3
pkggrp-ni-snac: add initial top level deps
Aug 13, 2024
fe72374
pkggrp-ni-snac: remove unneeded append assignment
Aug 14, 2024
6da2d19
pkggrp-ni-internal-deps: Add PAtools dependencies
usercw88 Aug 15, 2024
689d16e
.github: Add pull request template
amstewart Aug 19, 2024
8dc36c6
pkggrp-ni-internal-deps: change nissl contact
amstewart Aug 15, 2024
2fb4222
libpwquality: Build recipe
texasaggie97 Aug 20, 2024
94ffc6e
libpwquality: Add config file to recipe
texasaggie97 Aug 20, 2024
a3fbdd4
nisystemreplication: Split image files to fit FAT32
chaitu236 Aug 21, 2024
b09f844
tmux-ipk: Add tmux configuration file to tmux IPK
texasaggie97 Aug 19, 2024
b877114
rtgroups: adjust ksoftirqd and rcu* priorities
gratian Aug 21, 2024
33df896
rt_tests: add ptest to catch default FIFO/1 tasks
gratian Aug 21, 2024
6edcf25
ni-utils: remove unused wl12xx workaround
gratian Aug 21, 2024
51b5ef2
nisystemreplication: Fix unexpected differences
chaitu236 Aug 22, 2024
3718278
packagegroup-ni-runmode: add nftables
rtollert Aug 29, 2024
b03a949
packagegroup-ni-snac: add firewalld
rtollert Aug 29, 2024
eeb7b91
libpam: enable pam-plugin-faillock when it's installed and customize …
AlexHearnNI Aug 27, 2024
6633023
sudo: give the sudo group permission to run the sudo command
AlexHearnNI Sep 5, 2024
50e89ba
recipes-ni: add nilrt-snac recipe
amstewart Sep 6, 2024
dcc67ef
pkggrp-ni-snac: add nilrt-snac
amstewart Sep 6, 2024
8e6ecc2
pkggrp-ni-internal-deps: enable ni-grpc-device
rajendra-desai-ni Sep 13, 2024
889156f
nilrt-snac: add integration ptests
amstewart Sep 13, 2024
4713fbd
pkggrp-ni-smoke: use tabs for indentation
amstewart Sep 13, 2024
80eff37
pkggrp-ni-ptest-smoke: add nilrt-snac-ptest
amstewart Sep 13, 2024
052582b
nilrt_snac: remove unneeded RDEPENDS
amstewart Sep 13, 2024
6c2a2de
onboard: add onboard to next branch (scarthgap)
pratheekshasn Sep 19, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### Summary of Changes

TODO: Include a high-level description of the changes in this pull request.


### Justification

TODO: Justify why this contribution should be part of the project. Link to an AZDO work item with `AB#${AZDO ID}`.


### Testing

TODO: Detail what testing has been done to ensure this submission meets requirements.

* [ ] I have built the core package feed with this PR in place. (`bitbake packagefeed-ni-core`)


### Procedure

* [ ] I certify that the contents of this pull request complies with the [Developer Certificate of Origin](https://github.com/ni/nilrt/blob/HEAD/docs/CONTRIBUTING.md#developer-certificate-of-origin-dco).
4 changes: 2 additions & 2 deletions conf/distro/nilrt.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
DISTRO_NAME = "NI Linux Real-Time"

DISTRO_VERSION = "10.1"
DISTRO_VERSION = "11.0"

DISTRO_CODENAME = "${LAYERSERIES_COMPAT_meta-nilrt}"

NILRT_FEED_NAME ?= "2024Q1"
NILRT_FEED_NAME ?= "2024Q4"

DISTRO_FEATURES:append:x64 = "\
x11 \
Expand Down
2 changes: 1 addition & 1 deletion conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ BBFILE_COLLECTIONS += "meta-nilrt"
BBFILE_PATTERN_meta-nilrt = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-nilrt = "25"

LAYERSERIES_COMPAT_meta-nilrt = "kirkstone"
LAYERSERIES_COMPAT_meta-nilrt = "scarthgap"
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions files/group
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ ni:x:500:
openvpn:x:499:
niwscerts:x:498:
# free space
arpwatch:x:402:
ptest:x:401:
ossec:x:400:
mysql:x:399:
datetime:x:398:
Expand Down
2 changes: 2 additions & 0 deletions files/passwd
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ webserv:x:501::::
lvuser:x:500::::
openvpn:x:499::::
# free space
arpwatch:x:402::::
ptest:x:401::::
ossec:x:400::::
mysql:x:399::::
polkitd:x:398::::
Expand Down
10 changes: 5 additions & 5 deletions recipes-bsp/grub/grub/add-inbit-command-to-io-module.patch
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
From 48de0b2faec205e874099e0afdc14ab70919e702 Mon Sep 17 00:00:00 2001
From 8267085891ed1efd3a8f46aff8ae172f94caaab7 Mon Sep 17 00:00:00 2001
From: Adrian Papp <[email protected]>
Date: Thu, 20 Feb 2014 15:01:05 +0200
Subject: [PATCH] add inbit command to io module

* grub-core/commands/iorw.c: Add grub_cmd_read_bit and register inbit
command

Upstream-Status: Inappropriate [NI specific]

---
grub-core/commands/iorw.c | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/grub-core/commands/iorw.c b/grub-core/commands/iorw.c
index 584baec8f..45a79ed7f 100644
index 584baec..45a79ed 100644
--- a/grub-core/commands/iorw.c
+++ b/grub-core/commands/iorw.c
@@ -27,6 +27,7 @@
Expand Down Expand Up @@ -81,6 +84,3 @@ index 584baec8f..45a79ed7f 100644
grub_unregister_command (cmd_write_byte);
grub_unregister_command (cmd_write_word);
grub_unregister_command (cmd_write_dword);
--
2.25.1

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 1dfdfdfa97910081e50e70df9b3e78162987130a Mon Sep 17 00:00:00 2001
From 2fa7700d70f71fa96061b78dabefbda536e63d9d Mon Sep 17 00:00:00 2001
From: Brad Mouring <[email protected]>
Date: Thu, 8 Dec 2016 11:03:42 -0600
Subject: [PATCH] cmd: test: Add bitwise AND, document the feature
Expand All @@ -11,17 +11,20 @@ Here, we add a more generic ability to test the bitwise AND of a
value available to the grub scripting environment. This obviates the
need for the inbit command.

Upstream-Status: Inappropriate [NI specific]

Signed-off-by: Brad Mouring <[email protected]>

---
docs/grub.texi | 2 ++
grub-core/commands/test.c | 10 ++++++++++
2 files changed, 12 insertions(+)

diff --git a/docs/grub.texi b/docs/grub.texi
index f829684ec..37aef949b 100644
index a225f9a..51ae3e0 100644
--- a/docs/grub.texi
+++ b/docs/grub.texi
@@ -5034,6 +5034,8 @@ the strings are not equal
@@ -5817,6 +5817,8 @@ the strings are not equal
@var{integer1} is less than @var{integer2}
@item @var{integer1} @code{-ne} @var{integer2}
@var{integer1} is not equal to @var{integer2}
Expand All @@ -31,7 +34,7 @@ index f829684ec..37aef949b 100644
@var{integer1} is greater than @var{integer2} after stripping off common non-numeric @var{prefix}.
@item @var{prefix}@var{integer1} @code{-plt} @var{prefix}@var{integer2}
diff --git a/grub-core/commands/test.c b/grub-core/commands/test.c
index 5f06642f6..af4fad728 100644
index 62d3fb3..a34a8ed 100644
--- a/grub-core/commands/test.c
+++ b/grub-core/commands/test.c
@@ -290,6 +290,16 @@ test_parse (char **args, int *argn, int argc)
Expand All @@ -51,6 +54,3 @@ index 5f06642f6..af4fad728 100644
/* -nt and -ot tests. GRUB extension: when doing -?t<bias> bias
will be added to the first mtime. */
if (grub_memcmp (args[*argn + 1], "-nt", 3) == 0
--
2.25.1

20 changes: 10 additions & 10 deletions recipes-bsp/grub/grub/grub-advertise-NI-NILRT-over-GNU-GRUB.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 83f4667406917c3ea089f7cbb4da3f6e8a48c1fe Mon Sep 17 00:00:00 2001
From 464ac648e9df45779754fadccbc0088042a3c441 Mon Sep 17 00:00:00 2001
From: Ioan-Adrian Ratiu <[email protected]>
Date: Thu, 15 Dec 2016 14:04:40 +0200
Subject: [PATCH] grub: advertise NI NILRT over GNU GRUB
Expand All @@ -8,27 +8,30 @@ they can be entered anyway. Presumably advanced users already know about
them and can use them without being told and this discourages behaviour
like "uu what does this button do?" from unknowledgeable users.

Upstream-Status: Inappropriate [NI specific]

Signed-off-by: Ioan-Adrian Ratiu <[email protected]>

---
grub-core/normal/main.c | 2 +-
grub-core/normal/menu_text.c | 8 ++------
2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/grub-core/normal/main.c b/grub-core/normal/main.c
index 78a70a8bf..0a93eef30 100644
index bd44310..d556012 100644
--- a/grub-core/normal/main.c
+++ b/grub-core/normal/main.c
@@ -208,7 +208,7 @@ grub_normal_init_page (struct grub_term_output *term,
@@ -209,7 +209,7 @@ grub_normal_init_page (struct grub_term_output *term,

grub_term_cls (term);

- msg_formatted = grub_xasprintf (_("GNU GRUB version %s"), PACKAGE_VERSION);
+ msg_formatted = grub_xasprintf (_("NI Linux Real-Time Boot Options"));
if (!msg_formatted)
return;

diff --git a/grub-core/normal/menu_text.c b/grub-core/normal/menu_text.c
index e22bb91f6..d2411750b 100644
index b1321eb..50a77b7 100644
--- a/grub-core/normal/menu_text.c
+++ b/grub-core/normal/menu_text.c
@@ -181,17 +181,13 @@ command-line or ESC to discard edits and return to the GRUB menu."),
Expand All @@ -49,8 +52,5 @@ index e22bb91f6..d2411750b 100644
- "or `c' for a command-line."),
+ (_("Press enter to boot the selected OS. "),
STANDARD_MARGIN, STANDARD_MARGIN, term, dry_run);
}
}
}
--
2.25.1

2 changes: 1 addition & 1 deletion recipes-core/base-files/base-files/safemode-ps1.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
if [ -f /etc/natinst/safemode ] || /sbin/runlevel | egrep -q ' 4$' ; then
if [ -f /etc/natinst/safemode ] || /sbin/runlevel | grep -Eq ' 4$' ; then
PS1="(safemode) $PS1"
fi
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ for x64-based systems.

Signed-off-by: Charlie Johnston <[email protected]>

Upstream-Status: Inappropriate [Large numbers of adapters
are uncommon on embedded systems]
Upstream-Status: Inappropriate [NI specific]

Large numbers of adapters are uncommon on embedded systems
---
networking/ifplugd.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ delegate the complexity of this problem to the action script, by letting
it reject the chosen IP by returning error 67 (ASCII 'C'). It is assumed
that the action script has left the interface deconfigured.

Upstream-Status: Inappropriate [NI specific]

Signed-off-by: Richard Tollerton <[email protected]>
---
networking/zcip.c | 11 ++++++++++-
Expand Down
3 changes: 0 additions & 3 deletions recipes-core/busybox/files/ifplugd.action
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@

export INTERFACE=$1

# If there are drivers that need priorities changed, do it
update_driver_priorities

case "$2" in
up)
# On link-up, we're not guaranteed to be on the same network as
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
From a78510f2e89476bd1405ff6ded58c45e65790db9 Mon Sep 17 00:00:00 2001
From 04db7826a114d2a3f506155a22a781694549381c Mon Sep 17 00:00:00 2001
From: Ben Shelton <[email protected]>
Date: Fri, 19 Jun 2020 14:15:16 -0500
Subject: [PATCH] glibc: add cp936 support

Upstream-Status: Inappropriate [NI-specific]

Signed-off-by: Alex Stewart <[email protected]>
---
iconv/skeleton.c | 4 +
iconvdata/Makefile | 2 +-
Expand All @@ -10,10 +14,10 @@ Date: Fri, 19 Jun 2020 14:15:16 -0500
create mode 100644 iconvdata/cp936.c

diff --git a/iconv/skeleton.c b/iconv/skeleton.c
index 1dc642e2fc..4c46b079db 100644
index 9b74a3853c..003e997b3a 100644
--- a/iconv/skeleton.c
+++ b/iconv/skeleton.c
@@ -168,6 +168,10 @@
@@ -167,6 +167,10 @@
# endif
#endif

Expand All @@ -25,10 +29,10 @@ index 1dc642e2fc..4c46b079db 100644
#ifndef MAX_NEEDED_FROM
# define MAX_NEEDED_FROM MIN_NEEDED_FROM
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index c83962f351..0015fde589 100644
index ea019ce5c0..88602a05e5 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -61,7 +61,7 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
@@ -62,7 +62,7 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
IBM5347 IBM9030 IBM9066 IBM9448 IBM12712 IBM16804 \
IBM1364 IBM1371 IBM1388 IBM1390 IBM1399 ISO_11548-1 MIK BRF \
MAC-CENTRALEUROPE KOI8-RU ISO8859-9E \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,29 +1,34 @@
From 50acca0fba51a116e108b6549f4a88ce38d8ac80 Mon Sep 17 00:00:00 2001
From 317d15193531d2beafaffcb7d8dff1f43951578f Mon Sep 17 00:00:00 2001
From: Charlie Johnston <[email protected]>
Date: Wed, 25 May 2022 10:37:37 -0500
Subject: [PATCH] Adding CP936 charmap and zh_CN.CP936 locale. These are
equivalent to the GBK charmap and zh_CN.GBK locale.
Subject: [PATCH] glibc: add CP936 charmap and zh_CN.CP936 locale

These are equivalent to the GBK charmap and zh_CN.GBK locale.

Some NI Software expects that the charmap for Chinese language specifically
be CP936. While this is equivalent to the GBK charmap, the naming appears
to matter. This patch adds in a CP936 charmap and equivalent locale
with the expected values.

Upstream-Status: Inappropriate [NI-specific changes]

Reapplied to glibc-2.39-22-g0244a37d2c.

Signed-off-by: Alex Stewart <[email protected]>
---
localedata/SUPPORTED | 1 +
localedata/charmaps/CP936 | 22037 ++++++++++++++++++++++++++++++++++++
2 files changed, 22038 insertions(+)
create mode 100644 localedata/charmaps/CP936

diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
index 1ee5b5e8c8..0bf665834d 100644
index f3ea3267f3..c7efe08ae4 100644
--- a/localedata/SUPPORTED
+++ b/localedata/SUPPORTED
@@ -475,6 +475,7 @@ yi_US/CP1255 \
yo_NG/UTF-8 \
@@ -485,6 +485,7 @@ yo_NG/UTF-8 \
yue_HK/UTF-8 \
yuw_PG/UTF-8 \
zgh_MA/UTF-8 \
+zh_CN.CP936/CP936 \
zh_CN.GB18030/GB18030 \
zh_CN.GBK/GBK \
Expand Down Expand Up @@ -22071,6 +22076,3 @@ index 0000000000..a469702bee
+WIDTH
+<U4E02>...<UFA29> 2
+END WIDTH
--
2.30.2

4 changes: 2 additions & 2 deletions recipes-core/glibc/glibc_2.%.bbappend
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ FILESEXTRAPATHS:prepend := "${THISDIR}:${THISDIR}/${PN}:"
# Chinese support.
#file://cp936-gconv-modules.patch
SRC_URI =+ " \
file://cp936_support.patch \
file://gconv-modules-extra-remove-CP936-to-GBK-mapping.patch \
file://0001-glibc-add-cp936-support.patch \
"

# Add patches to build the ja_JP.WINDOWS-31J and zh_CN.CP936 locales for
# LabVIEW Japanese and Chinese language support.
SRC_URI =+ " \
file://windows-31j_support.patch \
file://cp936_charmap_support.patch \
file://0002-glibc-add-CP936-charmap-and-zh_CN.CP936-locale.patch \
"

# Add patch to alias custom LabVIEW locales to the equivalent
Expand Down
2 changes: 1 addition & 1 deletion recipes-core/images/nilrt-base-system-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ROOTFS_IMAGE = "nilrt-runmode-rootfs"
do_rootfs[depends] += "${ROOTFS_IMAGE}:do_image_complete"

bootimg_fixup() {
install -m 0644 "${DEPLOY_DIR_IMAGE}/${ROOTFS_IMAGE}-${MACHINE}.tar.gz" "${IMAGE_ROOTFS}/data.tar.gz"
install -m 0644 "${DEPLOY_DIR_IMAGE}/${ROOTFS_IMAGE}-${MACHINE}.rootfs.tar.gz" "${IMAGE_ROOTFS}/data.tar.gz"
install -m 0755 "${THISDIR}/files/${BPN}.postinst" "${IMAGE_ROOTFS}/postinst"

# Remove everything that is not data.tar.gz nor the postinst
Expand Down
4 changes: 3 additions & 1 deletion recipes-core/images/nilrt-recovery-media.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ PACKAGE_INSTALL = "${ROOTFS_BOOTSTRAP_INSTALL} \

IMAGE_FEATURES += "empty-root-password"

IMAGE_INSTALL_NODEPS += "nirtcfg"

DEPENDS += "init-restore-mode"

INITRAMFS_MAXSIZE = "524288"
Expand Down Expand Up @@ -38,7 +40,7 @@ bootimg_fixup() {
}

symlink_iso () {
ln -sf ${PN}-${MACHINE}.wic ${DEPLOY_DIR_IMAGE}/${PN}-${MACHINE}.iso
ln -sf ${PN}-${MACHINE}.rootfs.wic ${DEPLOY_DIR_IMAGE}/${PN}-${MACHINE}.iso
}

ROOTFS_POSTPROCESS_COMMAND += "symlink_iso;"
Expand Down
Loading