Hi,
I am building MPC8548CDS_20071214-ltib.iso on Centos 7 x86_64
The build is successful and everything is good.
However, I want to change the default terminal in /etc/inittab file.
Currently, I am mounting the rootfs and manually changing the below line in /etc/inittab file.
before
::respawn:/sbin/getty -L ttyS0 115200 vt100
after
::respawn:/sbin/getty -L ttyS0 115200 vt100
Is there any way to do this change before the ltib build so that I don't have to mount it and do it manually after the build?
Best Regards
已解决! 转到解答。
Please refer to /etc/inittab definition in dist/lfs-5.1/sysconfig/sysconfig.spec.
Please modify CONFIG_SYSCFG_LOGING_TTY in config/platform/mpc8548cds/defconfig
Thanks , that worked
I changed dist/lfs-5.1/sysconfig/sysconfig.spec as below.
@@ -130,7 +130,7 @@
cat <<EOF > $RPM_BUILD_ROOT/%{pfx}/etc/inittab
# see busybox-1.00rc2/examples/inittab for more examples
::sysinit:/etc/rc.d/rcS
-$sys_login
+::respawn:/sbin/getty -L ttyS0 115200 vt100
::ctrlaltdel:/sbin/reboot
::shutdown:/etc/rc.d/rcS stop
::restart:/sbin/init