<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-el-nfv-access.git/classes, branch feature_CPDX-3493</title>
<subtitle>[no description]</subtitle>
<id>https://git.enea.com/cgit/linux/meta-el-nfv-access.git/atom?h=feature_CPDX-3493</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/atom?h=feature_CPDX-3493'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/'/>
<updated>2020-09-14T09:37:41+00:00</updated>
<entry>
<title>grub: Fix loader link, unify grub.cfg locations</title>
<updated>2020-09-14T09:37:41+00:00</updated>
<author>
<name>Alexandru Avadanii</name>
<email>Alexandru.Avadanii@enea.com</email>
</author>
<published>2020-09-04T13:24:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/commit/?id=55b49a162cc4e871106f6e57108581a92ae35832'/>
<id>urn:sha1:55b49a162cc4e871106f6e57108581a92ae35832</id>
<content type='text'>
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 &lt;Alexandru.Avadanii@enea.com&gt;
Depends-on: I6bdc80e08a272e1534dd63717348bfaa50807d93
Change-Id: If8a61c89200414922a3f36e6c8fca58d7d3b6495
</content>
</entry>
<entry>
<title>Make the serial console as the first choice in GRUB and SYSLINUX</title>
<updated>2019-08-09T14:31:55+00:00</updated>
<author>
<name>Gabriel Ionescu</name>
<email>Gabriel.Ionescu@enea.com</email>
</author>
<published>2019-08-09T14:30:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/commit/?id=a14b119c235cfe094236ca9cddf96a9810229e18'/>
<id>urn:sha1:a14b119c235cfe094236ca9cddf96a9810229e18</id>
<content type='text'>
Change-Id: I146aafd422d0f99b25ef222380e053b08239c02f
</content>
</entry>
<entry>
<title>ostree and otaimg enhancements</title>
<updated>2019-06-26T12:39:33+00:00</updated>
<author>
<name>Matei Valeanu</name>
<email>Matei.Valeanu@enea.com</email>
</author>
<published>2019-06-12T15:59:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/commit/?id=1004579ca431cdb239295dc6771af45b41b2791a'/>
<id>urn:sha1:1004579ca431cdb239295dc6771af45b41b2791a</id>
<content type='text'>
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 &lt;Matei.Valeanu@enea.com&gt;
</content>
</entry>
<entry>
<title>Include UEFI certificates into the hddimg</title>
<updated>2019-06-13T12:09:19+00:00</updated>
<author>
<name>Adrian Dudau</name>
<email>adrian.dudau@enea.com</email>
</author>
<published>2019-06-13T12:06:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/commit/?id=c9704949a3cf50d40078340908dff34c48dba948'/>
<id>urn:sha1:c9704949a3cf50d40078340908dff34c48dba948</id>
<content type='text'>
Change-Id: I27cd60e16b0b9cc469af916842141de294bddd14
Signed-off-by: Adrian Dudau &lt;adrian.dudau@enea.com&gt;
</content>
</entry>
<entry>
<title>Split grub_efi class override</title>
<updated>2019-05-23T12:51:29+00:00</updated>
<author>
<name>Adrian Dudau</name>
<email>adrian.dudau@enea.com</email>
</author>
<published>2019-05-20T11:18:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/commit/?id=6f4d06897bb746f64e6ec6c2d6d67aba5ff93416'/>
<id>urn:sha1:6f4d06897bb746f64e6ec6c2d6d67aba5ff93416</id>
<content type='text'>
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 &lt;adrian.dudau@enea.com&gt;
</content>
</entry>
<entry>
<title>do_image_ostree: fix build issue</title>
<updated>2019-05-20T13:45:37+00:00</updated>
<author>
<name>Matei Valeanu</name>
<email>Matei.Valeanu@enea.com</email>
</author>
<published>2019-05-20T13:40:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/commit/?id=c5d2f06184f551225aad5bf1366058d161c92192'/>
<id>urn:sha1:c5d2f06184f551225aad5bf1366058d161c92192</id>
<content type='text'>
ostree_repo may exist even if not initialized

Change-Id: Iae1d17114646128c74646cfb696f4db09638930b
Signed-off-by: Matei Valeanu &lt;Matei.Valeanu@enea.com&gt;
</content>
</entry>
<entry>
<title>Override image_types_ostree class</title>
<updated>2019-05-13T08:53:07+00:00</updated>
<author>
<name>Adrian Dudau</name>
<email>adrian.dudau@enea.com</email>
</author>
<published>2019-05-10T16:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/commit/?id=bc97b28dd147def3bad048f9ee50900348940cd7'/>
<id>urn:sha1:bc97b28dd147def3bad048f9ee50900348940cd7</id>
<content type='text'>
Override the class to install the kernel and initramfs signature files
into the ostree image.

Change-Id: I3cd9d1b0dcb2519802443d9a959a3b35e8a9a823
Signed-off-by: Adrian Dudau &lt;adrian.dudau@enea.com&gt;
</content>
</entry>
<entry>
<title>Override efi-populate function from grub-efi class</title>
<updated>2019-05-13T08:53:07+00:00</updated>
<author>
<name>Adrian Dudau</name>
<email>adrian.dudau@enea.com</email>
</author>
<published>2019-05-07T19:39:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/commit/?id=a09771b493ca8d017965abcc0d03ef12a9443a9c'/>
<id>urn:sha1:a09771b493ca8d017965abcc0d03ef12a9443a9c</id>
<content type='text'>
This override is needed to install kernel and initramfs signature
files onto the hddimg.

Change-Id: Id1434b930312cc601ca2c1782c8b5b5699ce3fd6
Signed-off-by: Adrian Dudau &lt;adrian.dudau@enea.com&gt;
</content>
</entry>
<entry>
<title>set ramdisk size from kernel config</title>
<updated>2019-05-07T09:33:20+00:00</updated>
<author>
<name>Sona Sarmadi</name>
<email>sona.sarmadi@enea.com</email>
</author>
<published>2019-04-30T12:36:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/commit/?id=5e17177a0d5cb1bf758295a083d7bcb774919b24'/>
<id>urn:sha1:5e17177a0d5cb1bf758295a083d7bcb774919b24</id>
<content type='text'>
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 &lt;sona.sarmadi@enea.com&gt;
</content>
</entry>
<entry>
<title>OSTree: Add sota machine specific classes</title>
<updated>2018-11-20T15:25:46+00:00</updated>
<author>
<name>Gabriel Ionescu</name>
<email>gabriel.ionescu@enea.com</email>
</author>
<published>2018-11-01T17:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-el-nfv-access.git/commit/?id=fe75dcddb122fe06ebfd9d545295dcd8ce358a43'/>
<id>urn:sha1:fe75dcddb122fe06ebfd9d545295dcd8ce358a43</id>
<content type='text'>
Change-Id: I5dad6a1bcb4f22e1c7c3fa4971a49d87212e15d6
Signed-off-by: Gabriel Ionescu &lt;gabriel.ionescu@enea.com&gt;
</content>
</entry>
</feed>
