| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: Ia340aa58508bb3fd211a2a8ec715f43756424d8a
Signed-off-by: Catalin Iova <Catalin.Iova@enea.com>
|
|
|
|
|
|
|
| |
Change name into Enea Edge for build output files
Change-Id: I760411db66617f6eabc2041db42be24fc3633c33
Signed-off-by: Catalin Iova <Catalin.Iova@enea.com>
|
|
|
|
|
| |
Change-Id: I2cd5cc806e9264151897124b2dae42752f102afb
Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
|
|
|
|
|
|
|
|
|
| |
Cannot set USERADD_ERROR_DYNAMIC to error as it breaks the build.
We need to be carefull when adding new users/groups, to also add
them to files/{groups,passwd}
Change-Id: I7ecfa9936af6319ced946e243cbe3bbcd23e8e4c
Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
|
|
|
|
|
|
|
| |
this was disabled from kernel source tree
Change-Id: I82ff784dae6d34de19966b61f194944dba2adbe9
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
|
|
|
|
|
| |
Change-Id: Ia39f1767dead467c0c78a5da085e3fc191f1cd4b
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Before NFVA 2.3.0, OSTree only checked for the existence of
/boot/grub2/grub.cfg, skipping creating grub.cfg if that file was not
present.
In NFVA 2.3.0, only /boot/grub/grub.cfg is created, leading to issues
when trying to downgrade to an older NFVA release.
To maintain backwards compatibility with OSTree versions that only
check the old path, create both /boot/{grub,grub2} as symlinks to the
loader directory managed by OSTree.
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Change-Id: Ic2c89930794e4c9d3ee3b2468d1331e5d7f63834
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- initramfs: remove run-postinsts package, it has no purpose as there is
no package manager inside the initramfs;
- rootfs: remove run-postinsts if the package manager is DPKG/APT, since
it duplicates the existing dpkg-configure.service installed by the
dpkg recipe;
- rootfs: cleanup DPKG backup file 'status-old', it contains information
about packages before the final installation stages of the rootfs
build process (completely irrelevant for the end user), saves >500kB;
Change-Id: I6bd257d56805a3dfee4478c88977942e9f210afc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
|
|
|
| |
Change-Id: I8c782ffdfb2d7dc4466bb21b83e40af2c0edfb0e
Signed-off-by: Dragos Ciprian Nedelcu <Dragos.Ciprian.Nedelcu@enea.com>
|
|
|
|
|
| |
Change-Id: I916fc13c7979e4ab9077ec3e43b67b3a5320b74c
Signed-off-by: Catalin Iova <Catalin.Iova@enea.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Fix an obviously broken link created during installation
This led to issues creating/editing the grubenv file during NFVA
installation calls to `grub-mkconfig`.
These errors were not observed before, since stderr was not logged
during the installation.
Also, the link was fixed later on, so subsequent calls to grub-*
utilities no longer complained about it; the error only happened
during the NFVA installation.
2. Unify expected locations of grub.cfg
Previously, there were 3 possible locations of grub.cfg used
throughout the layers/scripts:
- /boot/loader/grub.cfg - the proper location, used by NFVA installer
components, as well as ostree related tooling;
- /boot/grub/grub.cfg - used in some recipes, but not present on the
board currently. Also the expected default location of our current
grub-* utilites, since we build grub without an explicit
`--with-grubdir` configure argument, which defaults (guessing) to
the `PACKAGE` name, in our case `grub` (and not `grub2`);
- /boot/grub2/grub.cfg - used in OTA image scripts by linking it to
/boot/loader/grub.cfg - however the link is later converted into
a real file, ending up duplicating the real grub.cfg (although they
are identical content-wise, they might confuse the user);
To settle this confusion, we will keep only /boot/loader/grub.cfg as
the true configuration file and convert /boot/grub2 to a symlink
pointing at /boot/loader, while also renaming it to /boot/grub.
This has the benefit of "fixing" all grub-* tools which try to write
their configuration files to /boot/grub. An alternative for that would
be building grub2 with the configure flag `--with-grubdir=loader`, but
that might break other things, so a symlink for the traditional
/boot/grub is safer.
Before creating this link, `grub-editenv list` would not work without
explicitly providing the filepath of the `/boot/loader/grubenv` file,
which might not be obvious for the end user.
Also, before this link, `grub-mkconfig` required explicitly setting the
`-p` (prefix) to '/' while running on the target.
Both of these issues will be fixed with the new link.
Since our ostree version (2018.7) is quite old, it requires one backport
for it to also check for /boot/grub/grub.cfg and not only
/boot/grub2/grub.cfg. The backport will be handled in the
meta-enea-virtualiation layer, hence this change's dependency.
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Depends-on: I6bdc80e08a272e1534dd63717348bfaa50807d93
Change-Id: If8a61c89200414922a3f36e6c8fca58d7d3b6495
|
|
|
|
|
| |
Change-Id: I2a103bd73f5daaea8357ff2c5094dc2dd7fdf193
Signed-off-by: Andreas Wellving <andreas.wellving@enea.com>
|
|
|
|
|
|
|
| |
This would add too much overhead when switching branches.
Change-Id: I9ca5dbd0530017fcdd29fcb1d7a061386c98350e
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
| |
Change-Id: I7655edfba90f40df5a66ec22f865db26e5db54ed
|
|
|
|
|
|
|
|
| |
Set DISTRO_VERSION_MAJOR to a weaker default assignment, so that
it can be easily overriden from local.conf
Change-Id: I5cd83aa260ec11495b2622d1068da3f9f914db88
Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
|
|
|
|
|
|
|
| |
This is needed for fetching ODM through ssh.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Change-Id: I1d6f44c3f8f3dcfd17c1b1c4f916adf889a8b854
|
|
|
|
|
| |
Change-Id: Ie9b0e7fa3d9c32a369f7ebc6e10287e018340c0a
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
| |
Change-Id: I34619d8b8170a17a3281dc7e8162e88ca18d5c7d
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
|
|
| |
Skip menus and boot default selection (installer initramfs) immediately
Change-Id: I4c7acb2291663e3648f4cb13f7c238cb9c31c4d2
Signed-off-by: Martin Borg <martin.borg@enea.com>
|
|
|
|
| |
Change-Id: Ie599f30d7594c0593d745df97f749ba76fca72da
|
|
|
|
| |
Change-Id: I18799d611a2f184b29a435a23357c77b35bbdf0c
|
|
|
|
|
|
| |
to the installer
Change-Id: I170f961cc9d6bc257fa159481a24d9689c4b4a49
|
|
|
|
| |
Change-Id: I146aafd422d0f99b25ef222380e053b08239c02f
|
|
|
|
|
|
|
|
| |
This folder is used to group all SB artefacts inside the deploy
directory.
Change-Id: Ic2742b7242a7ff2232f23099f6862c90e3f03c55
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
| |
Change-Id: Ia9944b2ed8fad4a32984443b5ef98f287904c0d8
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
override_image_types_ostree.inc - do_image_ostree task:
-add dirs, cleandirs flags, to avoid mktemp, rm, cd, and to
also remove at clean
-add subimages, imgsuffix flags, to use automatic link creation
-create image in IMGDEPLOYDIR, instead of DEPLOY_DIR_IMAGE
to use the automatic deploy and clean mechanism (also helps
in cleaning old images)
override_image_types_ota.inc - do_image_otaimg task:
-add dirs, cleandirs flags, to avoid mktemp, rm, cd, and to
also remove at clean
-avoid untar-ing the ostree image, and use OSTREE_ROOTFS
-create image in IMGDEPLOYDIR, instead of DEPLOY_DIR_IMAGE
to use the automatic deploy and clean mechanism
Move OSTREE_REPO to "${WORKDIR}/ostree-repo", instead of
DEPLOY_DIR_IMAGE, this repo is needed for otaimg creation
sota_xeon-d.bbclass sota_atom-c3000.bbclass:
-set ROOTFS_sota to IMGDEPLOYDIR insted of DEPLOY_DIR_IMAGE,
as this is where the otaimg is now created; also use IMAGE_LINK_NAME
istead of IMAGE_NAME, to have the correct reference to the image,
even if the image was built in a previous run (IMAGE_NAME differs
in this case)
Change-Id: I44e87311d1819b80d34f924630d09e429d411d41
Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
|
|
|
|
|
| |
Change-Id: I27cd60e16b0b9cc469af916842141de294bddd14
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
|
|
| |
ostree is not dependant on the aktualizr packages
Change-Id: Ib2118bac710fa4106b1c4f4ee65e2baf58bdbaa8
Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
|
|
|
|
|
|
|
| |
This is where ostree dpkg is now expecting the files to be
Change-Id: Ifdb7d86f9a72b3a5bb59814439643fecc1aa78c1
Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
|
|
|
|
|
|
|
|
|
| |
Split the class override into generic changes and Secure Boot specific
(efi_populate). This allows us to override the secureboot parts only if the
efi-secure-boot distro feature is enabled.
Change-Id: I68ab1a9eae2ffceecd057506ef493b4388ff5343
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will allow us to override variables depending on this
distro feature more easily.
Make Secure Boot related changes apply only efi-secure-boot distro
feature is enabled. This will avoid any errors when building without the
feature enabled.
Change-Id: If07256977a647386cd43c5940357a0dedc95f95d
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
|
|
| |
ostree_repo may exist even if not initialized
Change-Id: Iae1d17114646128c74646cfb696f4db09638930b
Signed-off-by: Matei Valeanu <Matei.Valeanu@enea.com>
|
|
|
|
|
|
|
|
| |
Override the class to install the kernel and initramfs signature files
into the ostree image.
Change-Id: I3cd9d1b0dcb2519802443d9a959a3b35e8a9a823
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
|
|
|
| |
This override is needed to install kernel and initramfs signature
files onto the hddimg.
Change-Id: Id1434b930312cc601ca2c1782c8b5b5699ce3fd6
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
| |
Change-Id: I09c9b0bad8e85e75fb1510ff374540fad3c3b5d1
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
|
|
|
| |
We have big number of kernel params and at some point
it will be difficult to maintain all kernel boot params.
Change-Id: I51ba9d21e4c041fb7e77d618d7572704715a3a25
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
|
|
|
|
|
|
|
|
| |
From syslinux doc:
”A timeout of zero will disable the timeout completely.”
Change-Id: Ic71ed27ee1d2f9fecf2e9fab983848b65f569f04
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
|
|
|
|
|
|
|
|
| |
New odm distro feature to be used for all changes
required by on-device manager in other recipes.
Change-Id: I22d1814746057b949353d18980543710c2cfad79
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
|
|
|
|
|
|
|
|
| |
Enea VNF require cloud-init which is provided by
openstack layer.
Change-Id: I5bd8f01eb5a5fe7a1626dc15545ad4111d9bc3d4
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
|
|
|
|
|
| |
Change-Id: Ib832692f863a706da486b4413385b8b5d72a375f
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
|
|
|
|
|
|
|
| |
rename enea-nfv-access-edgelink-netconf to enea-nfv-access
Change-Id: Ia55a1e0b4b3581f77633e1a30235687a50c278c5
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A forced build of do_image_ostree task results in error due to
/var/lib/dpkg folder being empty after it was moved out in previous
builds.
| mv: cannot stat
'/data/fb/addu/nfv-rocko/poky/build-xeond-sb/tmp/work/xeon_d-enea-linux/enea-nfv-access-edgelink-netconf/1.0-r0/rootfs/var/lib/dpkg/*':
No such file or directory
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_image_ostree
Change-Id: Ia61278eeabec9062e57cc508348be2efcf7599e1
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
|
|
|
|
|
| |
Change-Id: Ifc322d78f4ef8634b16635fd0e8b008f6a56473c
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
|
|
|
|
|
| |
Change-Id: Ic063f096643ad52556b84f97f230b5fbf776f4f0
Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
|
|
|
|
|
| |
Change-Id: I7b9fad743da343bc73c0ad11374faa944e5b3627
Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
|
|
|
|
|
| |
Change-Id: Ibadaa8052fcae85f5860a095ea127e69ee421a76
Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
|
|
|
|
|
| |
Change-Id: I3ccdcd42ba9d1c718ed7d8266c5272e98394f9bc
Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
|
|
|
|
|
| |
Change-Id: I90ebfc33309181fcfd2c5f331ceb4f5ba53e60e2
Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
|
|
|
|
|
| |
Change-Id: I20ee1b35e045c910496a0f14377d260bd00a4709
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
|
|
|
|
|
| |
Change-Id: I9275a7a3a7ebf5f7f3a8c1384d8eade98cd8043c
Signed-off-by: Gabriel Ionescu <gabriel.ionescu@enea.com>
|