diff --git a/buildroot-v86/board/v86/rootfs_overlay/etc/inittab b/buildroot-v86/board/v86/rootfs_overlay/etc/inittab index 2aef431..22321c6 100644 --- a/buildroot-v86/board/v86/rootfs_overlay/etc/inittab +++ b/buildroot-v86/board/v86/rootfs_overlay/etc/inittab @@ -26,7 +26,8 @@ ::sysinit:/etc/init.d/rcS # Put a getty on the serial port -console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL +#console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL +console::respawn:-/bin/sh # Auto-login as root on ttyS0 ::respawn:/sbin/getty ttyS0 38400 xterm -n -l /bin/sh diff --git a/buildroot-v86/configs/v86_defconfig b/buildroot-v86/configs/v86_defconfig index 75ee0b2..55ab1b5 100644 --- a/buildroot-v86/configs/v86_defconfig +++ b/buildroot-v86/configs/v86_defconfig @@ -1,8 +1,8 @@ -# see https://github.com/buildroot/buildroot/tree/master/packages BR2_x86_pentiumpro=y BR2_CCACHE=y BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y BR2_TOOLCHAIN_BUILDROOT_WCHAR=y +# BR2_TARGET_GENERIC_GETTY is not set BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_v86_PATH)/board/v86/rootfs_overlay/" BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_v86_PATH)/board/v86/post-image.sh" BR2_LINUX_KERNEL=y @@ -10,16 +10,11 @@ BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.172" BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_v86_PATH)/board/v86/linux.config" +BR2_PACKAGE_ZIP=y +BR2_PACKAGE_LUA=y +BR2_PACKAGE_MICROPYTHON=y +BR2_PACKAGE_SCREEN=y BR2_PACKAGE_NANO=y BR2_TARGET_ROOTFS_INITRAMFS=y BR2_TARGET_ROOTFS_ISO9660=y BR2_TARGET_SYSLINUX=y - -BR2_PACKAGE_UNZIP=y -BR2_PACKAGE_ZIP=y -BR2_PACKAGE_MICROPYTHON=y -BR2_PACKAGE_LUA=y - -# If you want to add the nled editor, uncomment NLED + NCURSES -#BR2_PACKAGE_NCURSES=y -#BR2_PACKAGE_NLED=y diff --git a/edit.sh b/edit.sh new file mode 100755 index 0000000..5138ce7 --- /dev/null +++ b/edit.sh @@ -0,0 +1,9 @@ +#!/bin/sh +set -e +make BR2_EXTERNAL=/buildroot-v86 v86_defconfig +mkdir output/legal-info && touch output/legal-info/{host-licenses,licenses,buildroot.config} +make menuconfig +make linux-menuconfig +make savedefconfig +make linux-savedefconfig +make diff --git a/rootfs b/rootfs new file mode 120000 index 0000000..5f36b4f --- /dev/null +++ b/rootfs @@ -0,0 +1 @@ +buildroot-v86/board/v86/rootfs_overlay \ No newline at end of file