mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
9d5483c375
"poky" is the reference distribution for the Yocto Project. This renames the layer within the meta-yocto repository to meta-poky, better matching what that layer contains. A layer.conf file is left behind as this is the only way which allows existing builds to migrate safely to the new name. It will be removed at some future point. This change requires the corresponding OE-Core change to handle the migration and the changes to the infrastructure to support this. (From meta-yocto rev: d0c88df2e14672fca4ebbde93c5efbcd0e4fa9b6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
27 lines
545 B
Bash
27 lines
545 B
Bash
#!/bin/sh
|
|
|
|
# Mount the Linux kernel virtual filesystems
|
|
mount none -t proc /proc
|
|
mount none -t sysfs /sys
|
|
|
|
# Ensure devtmpfs is mounted, it must be done manually with initramfs
|
|
mount none -t devtmpfs /dev
|
|
|
|
# Setup PTY infrastructure
|
|
mkdir /dev/pts
|
|
mount none -t devpts /dev/pts
|
|
|
|
ifup lo
|
|
|
|
# Allow for distro or local customizations
|
|
if [ -f /etc/rc.local ] ; then
|
|
. /etc/rc.local
|
|
fi
|
|
|
|
# Become session leader and try to find a real tty (e.g. ttyS0)
|
|
while true; do
|
|
setsid cttyhack sh
|
|
echo "Console sh exited with $?, respawning..."
|
|
sleep 1
|
|
done
|