base/pkgtools/installpkg echos package description from first package for subsequent packages #2

Open
opened 2024-11-12 20:18:15 +05:30 by pktsurf · 0 comments
Owner

Current code in base/pkgtools/installpkg erroneously echos package description from the first package if multiple package installers are passed to the command line. It fails to unset the first initial package description that it sources from the package installer's smbuild file before moving onto the next package installer.

$ installpkg m4-1.4.19-x86_64-1sml.tlz wget-1.24.5-x86_64-1sml.tlz
Verifying package m4-1.4.19-x86_64-1sml.tlz.
Installing package m4-1.4.19-x86_64-1sml.tlz:
PACKAGE DESCRIPTION:

<<<< implementation of the UNIX macro processor >>>>

Package m4-1.4.19-x86_64-1sml.tlz installed.

Verifying package wget-1.24.5-x86_64-1sml.tlz.
Installing package wget-1.24.5-x86_64-1sml.tlz:
PACKAGE DESCRIPTION:

<<<< implementation of the UNIX macro processor >>>>

Executing install script for wget-1.24.5-x86_64-1sml.tlz.
Package wget-1.24.5-x86_64-1sml.tlz installed.

Current code in [base/pkgtools/installpkg](https://pktsurf.in/git/pktsurf/smlinux/src/branch/main/base/pkgtools/scripts/installpkg#L144) erroneously echos package description from the first package if multiple package installers are passed to the command line. It fails to unset the first initial package description that it sources from the package installer's smbuild file before moving onto the next package installer. $ installpkg m4-1.4.19-x86_64-1sml.tlz wget-1.24.5-x86_64-1sml.tlz Verifying package m4-1.4.19-x86_64-1sml.tlz. Installing package m4-1.4.19-x86_64-1sml.tlz: PACKAGE DESCRIPTION: <<<< implementation of the UNIX macro processor >>>> Package m4-1.4.19-x86_64-1sml.tlz installed. Verifying package wget-1.24.5-x86_64-1sml.tlz. Installing package wget-1.24.5-x86_64-1sml.tlz: PACKAGE DESCRIPTION: <<<< implementation of the UNIX macro processor >>>> Executing install script for wget-1.24.5-x86_64-1sml.tlz. Package wget-1.24.5-x86_64-1sml.tlz installed.
pktsurf self-assigned this 2024-11-12 20:18:15 +05:30
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: pktsurf/smlinux#2
No description provided.