Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion recipes-core/images/includes/nilrt-proprietary.inc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ NI_PROPRIETARY_SAFEMODE_PACKAGES = "\

NI_PROPRIETARY_COMMON_PACKAGES = "\
libnitargetcfg \
ni-auth \
ni-auth-webservice \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is ni-auth-webservice still necessary?

@SandeepR-NI SandeepR-NI Mar 10, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is still necessary. I tried removing ni-auth-webservice from the nilrt-proprietary.inc file, but ni-auth remains in the image due to other dependencies. Therefore, it must be retained.

ni-avahi-client \
ni-ca-certs \
Expand Down
15 changes: 1 addition & 14 deletions recipes-ni/niacctbase/niacctbase.bb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda
PV = "1.1"

SRC_URI = "\
file://sudoers \
Comment thread
SandeepR-NI marked this conversation as resolved.
file://udev.rules \
"

Expand Down Expand Up @@ -45,27 +44,16 @@ useradd_preinst:append () {


do_install:append () {
install -d ${D}${sysconfdir}/sudoers.d/
install --mode=0660 ${S}/sudoers ${D}${sysconfdir}/sudoers.d/${PN}


install -d ${D}${sysconfdir}/udev/rules.d
install --mode=0644 ${S}/udev.rules ${D}${sysconfdir}/udev/rules.d/90-${PN}.rules
}


## subpackages
PACKAGE_BEFORE_PN += " \
${PN}-sudo \
${PN}-udev \
"
# -sudo : sudo integration
SUMMARY:${PN}-sudo = "${SUMMARY} - sudo integration"
FILES:${PN}-sudo = "${sysconfdir}/sudoers.d/*"
CONFFILES:${PN}-sudo = "${sysconfdir}/sudoers.d/*"
RDEPENDS:${PN}-sudo = "\
niacctbase \
sudo-lib \
"

# -udev : udev rules for the `ni` group
SUMMARY:${PN}-udev = "${SUMMARY} - udev rules"
Expand All @@ -75,5 +63,4 @@ RDEPENDS:${PN}-udev += " niacctbase udev"


RDEPENDS:${PN} += " ${PN}-udev"
RRECOMMENDS:${PN} += " ${PN}-sudo"
BBCLASSEXTEND = "native nativesdk"
3 changes: 0 additions & 3 deletions recipes-ni/niacctbase/niacctbase/sudoers

This file was deleted.