OpenNetworkLinux
OpenNetworkLinux copied to clipboard
installing deb packages depends on the platform at installation stage
I'm using INSTALLED mode and want to install some packages only for particular platforms. I think ONL doesn't have such a feature.
In my understanding, in INSTALLED mode, a SWI image is extracted to the storage in the initial boot at the ONL loader after the installation. Can we add some mechanism to install additional deb packages after that extraction?
Hello ,I am not sure ,try adding the debian package to the path
$ONL/REPO/$SUITE/packages/binary-$ARCH,
Ex : If the debian version is jessie and base architecture is amd64
$ONL/REPO/jessie/packages/binary-amd64/
@skwillbesk Thank you for your comment. However, that will install the package to the rootfs for all platforms.
What I want to do is use the same onie-installer image for all platforms but additionally, install some packages only for particular platforms when I install the NOS.
To do this, I think we need to put the packages and associated platform information somewhere in the onie-installer, separate from the roots, and install them after ONL installer extracts the rootfs to the mass storage.