From 4af013e038c9997f0c03bfd4364da9df3470e870 Mon Sep 17 00:00:00 2001 From: Andre Fernando Zanella Kantek Date: Wed, 18 May 2022 15:21:35 -0300 Subject: [PATCH] Debian: install pf-bb-config package in the ISO For pf-bb-config it corrects the deployment in the iso. Test Plan: PASS build Debian ISO PASS install AIO-SX Debian ISO PASS check presence of package pf-bb-config PASS check that the content of package is installed Story: 2009965 Task: 45478 Signed-off-by: Andre Fernando Zanella Kantek Change-Id: I02b5bbf7c0cf9195d71beeff34f724b566f0864f --- .../debian/deb_folder/pf-bb-config.install | 5 +++++ base/pf-bb-config/debian/deb_folder/rules | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 base/pf-bb-config/debian/deb_folder/pf-bb-config.install diff --git a/base/pf-bb-config/debian/deb_folder/pf-bb-config.install b/base/pf-bb-config/debian/deb_folder/pf-bb-config.install new file mode 100644 index 000000000..b9b7a175f --- /dev/null +++ b/base/pf-bb-config/debian/deb_folder/pf-bb-config.install @@ -0,0 +1,5 @@ +usr/bin/pf_bb_config +usr/share/pf-bb-config/acc100/acc100_config_1vf_4g5g.cfg +usr/share/pf-bb-config/acc100/acc100_config_vf_5g.cfg +usr/share/pf-bb-config/fpga_5gnr/fpga_5gnr_config_vf.cfg +usr/share/pf-bb-config/README.md \ No newline at end of file diff --git a/base/pf-bb-config/debian/deb_folder/rules b/base/pf-bb-config/debian/deb_folder/rules index 2761129ee..8963ec79b 100755 --- a/base/pf-bb-config/debian/deb_folder/rules +++ b/base/pf-bb-config/debian/deb_folder/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f # -# Copyright (c) 2021 Wind River Systems, Inc. +# Copyright (c) 2022 Wind River Systems, Inc. # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. The ASF licenses this @@ -20,5 +20,18 @@ #export DH_VERBOSE = 1 +DEBIAN_DESTDIR := $(CURDIR)/debian/tmp + %: dh $@ + +override_dh_install: + install -d -m 755 ${DEBIAN_DESTDIR}/usr/bin + install -d -m 755 ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/acc100 + install -d -m 755 ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/fpga_5gnr + install -p -D -m 700 pf_bb_config ${DEBIAN_DESTDIR}/usr/bin/pf_bb_config + install -p -D -m 600 acc100/acc100_config_1vf_4g5g.cfg ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/acc100/acc100_config_1vf_4g5g.cfg + install -p -D -m 600 acc100/acc100_config_vf_5g.cfg ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/acc100/acc100_config_vf_5g.cfg + install -p -D -m 600 fpga_5gnr/fpga_5gnr_config_vf.cfg ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/fpga_5gnr/fpga_5gnr_config_vf.cfg + install -p -D -m 644 README.md ${DEBIAN_DESTDIR}/usr/share/pf-bb-config/README.md + dh_install