<feed xmlns='http://www.w3.org/2005/Atom'>
<title>meta-toradex-demos.git/recipes-core/base-files, branch master</title>
<subtitle>Toradex BSP layer, recipes for the demo images</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/meta-toradex-demos.git/'/>
<entry>
<title>recipes: remove OURFILEPATH/S workarounds</title>
<updated>2024-07-22T20:19:56+00:00</updated>
<author>
<name>Hiago De Franco</name>
<email>hiago.franco@toradex.com</email>
</author>
<published>2024-07-22T20:19:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/meta-toradex-demos.git/commit/?id=47a484a676b8f4e8b7e383cbee59923cf8718dea'/>
<id>47a484a676b8f4e8b7e383cbee59923cf8718dea</id>
<content type='text'>
These was initially required to build this layer with both master
(styhead) and scarthgap branches from other layers, as the
meta-toradex-demos/scarthgap-7.x.y did not exist at that time. With
the creation of a specific scarthgap branch, we can remove the workaround.

Related-to: ELB-5840
Signed-off-by: Hiago De Franco &lt;hiago.franco@toradex.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These was initially required to build this layer with both master
(styhead) and scarthgap branches from other layers, as the
meta-toradex-demos/scarthgap-7.x.y did not exist at that time. With
the creation of a specific scarthgap branch, we can remove the workaround.

Related-to: ELB-5840
Signed-off-by: Hiago De Franco &lt;hiago.franco@toradex.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>recipes: cope with moved directory for unpack</title>
<updated>2024-05-31T15:32:46+00:00</updated>
<author>
<name>Max Krummenacher</name>
<email>max.krummenacher@toradex.com</email>
</author>
<published>2024-05-31T09:30:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/meta-toradex-demos.git/commit/?id=48fb6ae80a1aa5765ff420877219d8eb35b11396'/>
<id>48fb6ae80a1aa5765ff420877219d8eb35b11396</id>
<content type='text'>
OE master (styhead) no longer unpacks in ${WORKDIR} but rather does
it in path defined by the new variable UNPACKDIR.

Additionally '${S} = ${WORKDIR}' is no longer allowed and results in
a parse time error.

Cope with the change so that the layer builds against scarthgap and
styhead.

Signed-off-by: Max Krummenacher &lt;max.krummenacher@toradex.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OE master (styhead) no longer unpacks in ${WORKDIR} but rather does
it in path defined by the new variable UNPACKDIR.

Additionally '${S} = ${WORKDIR}' is no longer allowed and results in
a parse time error.

Cope with the change so that the layer builds against scarthgap and
styhead.

Signed-off-by: Max Krummenacher &lt;max.krummenacher@toradex.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: make /media a symlink to /run/media</title>
<updated>2024-05-10T11:49:52+00:00</updated>
<author>
<name>Hiago De Franco</name>
<email>hiago.franco@toradex.com</email>
</author>
<published>2024-05-08T20:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/meta-toradex-demos.git/commit/?id=7191b54e32d6806eeffef09bb6623bad4b39b379'/>
<id>7191b54e32d6806eeffef09bb6623bad4b39b379</id>
<content type='text'>
Commit 77951705048f ("udev-extraconf: delete udev-extraconf_%.bbappend
recipe") from meta-toradex-bsp-common sets the MOUNT_BASE variable to
"/run/media". In this case, this folder will be the new mountpoint,
previously "/media".

Therefore, create a symlink from "/media" to "/run/media" to keep the
functionality as before.

Related-to: ELB-5714
Signed-off-by: Hiago De Franco &lt;hiago.franco@toradex.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 77951705048f ("udev-extraconf: delete udev-extraconf_%.bbappend
recipe") from meta-toradex-bsp-common sets the MOUNT_BASE variable to
"/run/media". In this case, this folder will be the new mountpoint,
previously "/media".

Therefore, create a symlink from "/media" to "/run/media" to keep the
functionality as before.

Related-to: ELB-5714
Signed-off-by: Hiago De Franco &lt;hiago.franco@toradex.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: drop Toradex fstab</title>
<updated>2022-07-18T09:13:53+00:00</updated>
<author>
<name>Ming Liu</name>
<email>ming.liu@toradex.com</email>
</author>
<published>2022-06-30T14:01:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/meta-toradex-demos.git/commit/?id=3d0c423863c89479798a1c00fe4eb268cc5887c7'/>
<id>3d0c423863c89479798a1c00fe4eb268cc5887c7</id>
<content type='text'>
We dont have to maintain a Toradex specific fstab, it leads we miss the
latest updates in base base-files recipe.

The only change we really want is a have a extra line in fstab to mount
boot partition when system starts up, we can change to add one more udev
rule to create a symbolic link /boot -&gt;/media/BOOT-PARTITION-MOUNTPOINT
in BSP layer instead, hence we can drop this fstab here.

Signed-off-by: Ming Liu &lt;ming.liu@toradex.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We dont have to maintain a Toradex specific fstab, it leads we miss the
latest updates in base base-files recipe.

The only change we really want is a have a extra line in fstab to mount
boot partition when system starts up, we can change to add one more udev
rule to create a symbolic link /boot -&gt;/media/BOOT-PARTITION-MOUNTPOINT
in BSP layer instead, hence we can drop this fstab here.

Signed-off-by: Ming Liu &lt;ming.liu@toradex.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: dont install wayland-env.sh</title>
<updated>2022-03-29T10:02:58+00:00</updated>
<author>
<name>Ming Liu</name>
<email>ming.liu@toradex.com</email>
</author>
<published>2022-03-28T14:39:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/meta-toradex-demos.git/commit/?id=f4c744cd55620e24703c358a15c3511d4d925192'/>
<id>f4c744cd55620e24703c358a15c3511d4d925192</id>
<content type='text'>
It's been handled in weston-init recipe of meta-toradex-nxp layer, drop
a duplicated weston env file.

Related-to: ELB-3477

Signed-off-by: Ming Liu &lt;ming.liu@toradex.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's been handled in weston-init recipe of meta-toradex-nxp layer, drop
a duplicated weston env file.

Related-to: ELB-3477

Signed-off-by: Ming Liu &lt;ming.liu@toradex.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>layer: convert to new override syntax</title>
<updated>2021-08-14T11:18:40+00:00</updated>
<author>
<name>Max Krummenacher</name>
<email>max.krummenacher@toradex.com</email>
</author>
<published>2021-08-08T09:11:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/meta-toradex-demos.git/commit/?id=e7f6f37cdbc8ba971a151ef23d96edd8cda76e30'/>
<id>e7f6f37cdbc8ba971a151ef23d96edd8cda76e30</id>
<content type='text'>
This is the result of automated script (0.9.3) conversion:

+# meta-toradex-distro
+vars = vars + ["preempt-rt","tdx","upstream"]
+# meta-toradex-* machines
+vars = vars + ["apalis-","colibri-","verdin-","tegra124"]
+# meta-freescale
+vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"]

../openembedded-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Max Krummenacher &lt;max.krummenacher@toradex.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the result of automated script (0.9.3) conversion:

+# meta-toradex-distro
+vars = vars + ["preempt-rt","tdx","upstream"]
+# meta-toradex-* machines
+vars = vars + ["apalis-","colibri-","verdin-","tegra124"]
+# meta-freescale
+vars = vars + ["imx","mx6","mx7","mx8","use-mainline-bsp","use-nxp-bsp"]

../openembedded-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Max Krummenacher &lt;max.krummenacher@toradex.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>core: set-hostname: skip installing /etc/hostname</title>
<updated>2021-07-18T09:41:55+00:00</updated>
<author>
<name>Oleksandr Suvorov</name>
<email>oleksandr.suvorov@toradex.com</email>
</author>
<published>2021-07-11T17:03:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/meta-toradex-demos.git/commit/?id=111ffa98d1c479f1f2e3e0d2f5e0e94089cf0957'/>
<id>111ffa98d1c479f1f2e3e0d2f5e0e94089cf0957</id>
<content type='text'>
The systemd service set-hostname starts only if  /etc/hostname
file does not exist. Don't install this file if the set-hostname
recipe enabled and systemd sets as a default init-system.

Related-to: ELB-1322
Signed-off-by: Oleksandr Suvorov &lt;oleksandr.suvorov@toradex.com&gt;
(cherry picked from commit 2b41160a098d5cc1ad3e5155e57bede7ce34ca48)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The systemd service set-hostname starts only if  /etc/hostname
file does not exist. Don't install this file if the set-hostname
recipe enabled and systemd sets as a default init-system.

Related-to: ELB-1322
Signed-off-by: Oleksandr Suvorov &lt;oleksandr.suvorov@toradex.com&gt;
(cherry picked from commit 2b41160a098d5cc1ad3e5155e57bede7ce34ca48)
</pre>
</div>
</content>
</entry>
<entry>
<title>base-files: enable wayland environment in /etc/profile.d</title>
<updated>2021-03-23T16:25:48+00:00</updated>
<author>
<name>Denys Drozdov</name>
<email>denys.drozdov@toradex.com</email>
</author>
<published>2021-03-05T14:45:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/meta-toradex-demos.git/commit/?id=20fdcaadbdab8070aef031d18d04674a8399c55e'/>
<id>20fdcaadbdab8070aef031d18d04674a8399c55e</id>
<content type='text'>
The user running ssh session should be able
to run wayland application. Add proper XDG settings,
once user logged in /etc/profile.d/wayland-env.sh

Related-to: ELB-3448
Signed-off-by: Denys Drozdov &lt;denys.drozdov@toradex.com&gt;
(cherry picked from commit 82e3d7b2b56fccabcd52708314acc9dfd6bb24d1)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The user running ssh session should be able
to run wayland application. Add proper XDG settings,
once user logged in /etc/profile.d/wayland-env.sh

Related-to: ELB-3448
Signed-off-by: Denys Drozdov &lt;denys.drozdov@toradex.com&gt;
(cherry picked from commit 82e3d7b2b56fccabcd52708314acc9dfd6bb24d1)
</pre>
</div>
</content>
</entry>
<entry>
<title>fstab: mount the partition with the boot files at /boot</title>
<updated>2021-03-23T16:25:48+00:00</updated>
<author>
<name>Max Krummenacher</name>
<email>max.krummenacher@toradex.com</email>
</author>
<published>2021-02-24T18:02:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/meta-toradex-demos.git/commit/?id=b37d43bedfab147cf390ebcfbff8ff6d53550c59'/>
<id>b37d43bedfab147cf390ebcfbff8ff6d53550c59</id>
<content type='text'>
Mount the partition /dev/boot-part on /boot.
This requires the help of udev/scripts/mount.sh. The script checks
the /proc/cmdline for the rootfs partition. If this is the second
partition of a block device and a first partition exists it creates
the symlink /dev/boot-part.

This reverts the previous mounting scheme which unconditionally mounted
the first eMMC partition at /boot, independent of the eMMC being the
actual device one booted from. commit 38705bd ("fstab: configure
the emmc's first partition to mount at /boot")

Related-to: ELB-3323
Signed-off-by: Max Krummenacher &lt;max.krummenacher@toradex.com&gt;
(cherry picked from commit 3bb042fc4cf0254ca9630b43a3f604176c540aaf)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mount the partition /dev/boot-part on /boot.
This requires the help of udev/scripts/mount.sh. The script checks
the /proc/cmdline for the rootfs partition. If this is the second
partition of a block device and a first partition exists it creates
the symlink /dev/boot-part.

This reverts the previous mounting scheme which unconditionally mounted
the first eMMC partition at /boot, independent of the eMMC being the
actual device one booted from. commit 38705bd ("fstab: configure
the emmc's first partition to mount at /boot")

Related-to: ELB-3323
Signed-off-by: Max Krummenacher &lt;max.krummenacher@toradex.com&gt;
(cherry picked from commit 3bb042fc4cf0254ca9630b43a3f604176c540aaf)
</pre>
</div>
</content>
</entry>
<entry>
<title>fstab: resync with openembedded-core</title>
<updated>2021-03-23T16:25:48+00:00</updated>
<author>
<name>Max Krummenacher</name>
<email>max.krummenacher@toradex.com</email>
</author>
<published>2021-02-24T16:54:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/meta-toradex-demos.git/commit/?id=72359621824b1695b70de3de450cfe5f876f16fc'/>
<id>72359621824b1695b70de3de450cfe5f876f16fc</id>
<content type='text'>
Follow the following two oe-core commits with our forked fstab file.
c999bc5ddd ("base-files: set ptmxmode to 666")
c24f0fa366 ("base-files: Remove /proc/bus/usb from fstab.")

Signed-off-by: Max Krummenacher &lt;max.krummenacher@toradex.com&gt;
(cherry picked from commit 9c5431a22bb2e7b31280642ba866e9aec6a52b75)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow the following two oe-core commits with our forked fstab file.
c999bc5ddd ("base-files: set ptmxmode to 666")
c24f0fa366 ("base-files: Remove /proc/bus/usb from fstab.")

Signed-off-by: Max Krummenacher &lt;max.krummenacher@toradex.com&gt;
(cherry picked from commit 9c5431a22bb2e7b31280642ba866e9aec6a52b75)
</pre>
</div>
</content>
</entry>
</feed>
