From 88b184299df9ef9f421453d804ea777e8bc2836d Mon Sep 17 00:00:00 2001 From: alexkar598 <25136265+alexkar598@users.noreply.github.com> Date: Fri, 21 Jun 2024 23:54:48 -0400 Subject: [PATCH] Updates buildroot + switches from ISOs to directly booting a bzImage and a initramfs + makes the kernel even leaner --- .github/workflows/build-release.yml | 22 +++--- byondvm/busybox.config | 108 +++++++++++++++++----------- byondvm/kernel.config | 77 ++++++++++---------- configs/byondvm_defconfig | 17 ++--- readme.MD | 2 +- setup.sh | 2 +- 6 files changed, 128 insertions(+), 100 deletions(-) mode change 100644 => 100755 setup.sh diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index b3ea8cb..66cc48c 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -11,26 +11,26 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: byondvm - name: Cache Buildroot CCache id: cache-ccache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.buildroot-ccache key: linux-buildroot-ccache - name: Get number of CPU cores - uses: SimenB/github-actions-cpu-cores@v1 + uses: SimenB/github-actions-cpu-cores@v2 id: cpu-cores - name: Download Buildroot run: | - wget https://buildroot.org/downloads/buildroot-2022.05.tar.gz - tar -xzf ./buildroot-2022.05.tar.gz - mv -v ./buildroot-2022.05/ ./buildroot + wget https://buildroot.org/downloads/buildroot-2024.02.3.tar.gz + tar -xzf ./buildroot-2024.02.3.tar.gz + mv -v ./buildroot-2024.02.3/ ./buildroot mv -v ./byondvm ./buildroot/byondvm - name: Setup Buildroot @@ -45,13 +45,11 @@ jobs: make defconfig byondvm_defconfig make -j ${{ steps.cpu-cores.outputs.count }} make -j ${{ steps.cpu-cores.outputs.count }} - mv ./output/images/rootfs.iso9660 ./controller.iso - + - name: 'Upload Artifact' - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: controller.iso - path: buildroot/controller.iso + path: buildroot/output/images/* - name: Set current date as env variable if: github.event_name == 'push' @@ -70,6 +68,6 @@ jobs: uses: ncipollo/release-action@v1 if: github.event_name == 'push' with: - artifacts: "buildroot/controller.iso" + artifacts: "buildroot/output/images/*" tag: ${{ env.HASH }} generateReleaseNotes: true diff --git a/byondvm/busybox.config b/byondvm/busybox.config index 5d352f2..add3b20 100644 --- a/byondvm/busybox.config +++ b/byondvm/busybox.config @@ -1,7 +1,7 @@ # # Automatically generated make config: don't edit -# Busybox version: 1.33.2 -# Sat Dec 25 15:50:34 2021 +# Busybox version: 1.36.1 +# Fri Jun 21 20:59:07 2024 # CONFIG_HAVE_DOT_CONFIG=y @@ -93,10 +93,16 @@ CONFIG_FEATURE_BUFFERS_USE_MALLOC=y # CONFIG_FEATURE_BUFFERS_GO_IN_BSS is not set CONFIG_PASSWORD_MINLEN=6 CONFIG_MD5_SMALL=1 +CONFIG_SHA1_SMALL=3 +# CONFIG_SHA1_HWACCEL is not set +# CONFIG_SHA256_HWACCEL is not set CONFIG_SHA3_SMALL=1 -# CONFIG_FEATURE_FAST_TOP is not set -# CONFIG_FEATURE_ETC_NETWORKS is not set -# CONFIG_FEATURE_ETC_SERVICES is not set +CONFIG_FEATURE_NON_POSIX_CP=y +# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set +CONFIG_FEATURE_USE_SENDFILE=y +CONFIG_FEATURE_COPYBUF_KB=4 +CONFIG_MONOTONIC_SYSCALL=y +CONFIG_IOCTL_HEX2STR_ERROR=y CONFIG_FEATURE_EDITING=y CONFIG_FEATURE_EDITING_MAX_LEN=1024 # CONFIG_FEATURE_EDITING_VI is not set @@ -120,14 +126,9 @@ CONFIG_LAST_SUPPORTED_WCHAR=767 # CONFIG_UNICODE_BIDI_SUPPORT is not set # CONFIG_UNICODE_NEUTRAL_TABLE is not set # CONFIG_UNICODE_PRESERVE_BROKEN is not set -CONFIG_FEATURE_NON_POSIX_CP=y -# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set -CONFIG_FEATURE_USE_SENDFILE=y -CONFIG_FEATURE_COPYBUF_KB=4 -CONFIG_FEATURE_SKIP_ROOTFS=y -CONFIG_MONOTONIC_SYSCALL=y -CONFIG_IOCTL_HEX2STR_ERROR=y -CONFIG_FEATURE_HWIB=y +# CONFIG_LOOP_CONFIGURE is not set +# CONFIG_NO_LOOP_CONFIGURE is not set +CONFIG_TRY_LOOP_CONFIGURE=y # # Applets @@ -162,6 +163,8 @@ CONFIG_BZIP2_SMALL=0 # CONFIG_CPIO is not set # CONFIG_FEATURE_CPIO_O is not set # CONFIG_FEATURE_CPIO_P is not set +# CONFIG_FEATURE_CPIO_IGNORE_DEVNO is not set +# CONFIG_FEATURE_CPIO_RENUMBER_INODES is not set # CONFIG_DPKG is not set # CONFIG_DPKG_DEB is not set CONFIG_GZIP=y @@ -197,6 +200,22 @@ CONFIG_FEATURE_UNZIP_CDF=y # # Coreutils # +CONFIG_FEATURE_VERBOSE=y + +# +# Common options for date and touch +# +# CONFIG_FEATURE_TIMEZONE is not set + +# +# Common options for cp and mv +# +CONFIG_FEATURE_PRESERVE_HARDLINKS=y + +# +# Common options for df, du, ls +# +CONFIG_FEATURE_HUMAN_READABLE=y # CONFIG_BASENAME is not set CONFIG_CAT=y CONFIG_FEATURE_CATN=y @@ -207,11 +226,13 @@ CONFIG_CHOWN=y CONFIG_FEATURE_CHOWN_LONG_OPTIONS=y # CONFIG_CHROOT is not set # CONFIG_CKSUM is not set +# CONFIG_CRC32 is not set # CONFIG_COMM is not set CONFIG_CP=y CONFIG_FEATURE_CP_LONG_OPTIONS=y CONFIG_FEATURE_CP_REFLINK=y # CONFIG_CUT is not set +# CONFIG_FEATURE_CUT_REGEX is not set # CONFIG_DATE is not set # CONFIG_FEATURE_DATE_ISOFMT is not set # CONFIG_FEATURE_DATE_NANO is not set @@ -221,8 +242,9 @@ CONFIG_FEATURE_CP_REFLINK=y # CONFIG_FEATURE_DD_THIRD_STATUS_LINE is not set # CONFIG_FEATURE_DD_IBS_OBS is not set # CONFIG_FEATURE_DD_STATUS is not set -# CONFIG_DF is not set -# CONFIG_FEATURE_DF_FANCY is not set +CONFIG_DF=y +CONFIG_FEATURE_DF_FANCY=y +# CONFIG_FEATURE_SKIP_ROOTFS is not set # CONFIG_DIRNAME is not set # CONFIG_DOS2UNIX is not set # CONFIG_UNIX2DOS is not set @@ -312,13 +334,13 @@ CONFIG_TEST2=y # CONFIG_FEATURE_TEST_64 is not set # CONFIG_TIMEOUT is not set CONFIG_TOUCH=y -# CONFIG_FEATURE_TOUCH_NODEREF is not set # CONFIG_FEATURE_TOUCH_SUSV3 is not set # CONFIG_TR is not set # CONFIG_FEATURE_TR_CLASSES is not set # CONFIG_FEATURE_TR_EQUIV is not set CONFIG_TRUE=y # CONFIG_TRUNCATE is not set +# CONFIG_TSORT is not set # CONFIG_TTY is not set # CONFIG_UNAME is not set CONFIG_UNAME_OSNAME="" @@ -332,27 +354,12 @@ CONFIG_UNLINK=y # CONFIG_UUENCODE is not set # CONFIG_WC is not set # CONFIG_FEATURE_WC_LARGE is not set -# CONFIG_WHOAMI is not set # CONFIG_WHO is not set # CONFIG_W is not set # CONFIG_USERS is not set +# CONFIG_WHOAMI is not set CONFIG_YES=y -# -# Common options -# -CONFIG_FEATURE_VERBOSE=y - -# -# Common options for cp and mv -# -CONFIG_FEATURE_PRESERVE_HARDLINKS=y - -# -# Common options for df, du, ls -# -CONFIG_FEATURE_HUMAN_READABLE=y - # # Console Utilities # @@ -372,7 +379,7 @@ CONFIG_DEFAULT_SETFONT_DIR="" # CONFIG_OPENVT is not set CONFIG_RESET=y CONFIG_RESIZE=y -CONFIG_FEATURE_RESIZE_PRINT=y +# CONFIG_FEATURE_RESIZE_PRINT is not set CONFIG_SETCONSOLE=y CONFIG_FEATURE_SETCONSOLE_LONG_OPTIONS=y # CONFIG_SETKEYCODES is not set @@ -416,6 +423,7 @@ CONFIG_VI=y CONFIG_FEATURE_VI_MAX_LEN=4096 # CONFIG_FEATURE_VI_8BIT is not set CONFIG_FEATURE_VI_COLON=y +CONFIG_FEATURE_VI_COLON_EXPAND=y CONFIG_FEATURE_VI_YANKMARK=y CONFIG_FEATURE_VI_SEARCH=y # CONFIG_FEATURE_VI_REGEX_SEARCH is not set @@ -429,6 +437,7 @@ CONFIG_FEATURE_VI_ASK_TERMINAL=y CONFIG_FEATURE_VI_UNDO=y CONFIG_FEATURE_VI_UNDO_QUEUE=y CONFIG_FEATURE_VI_UNDO_QUEUE_MAX=256 +CONFIG_FEATURE_VI_VERBOSE_STATUS=y CONFIG_FEATURE_ALLOW_EXEC=y # @@ -437,7 +446,11 @@ CONFIG_FEATURE_ALLOW_EXEC=y # CONFIG_FIND is not set # CONFIG_FEATURE_FIND_PRINT0 is not set # CONFIG_FEATURE_FIND_MTIME is not set +# CONFIG_FEATURE_FIND_ATIME is not set +# CONFIG_FEATURE_FIND_CTIME is not set # CONFIG_FEATURE_FIND_MMIN is not set +# CONFIG_FEATURE_FIND_AMIN is not set +# CONFIG_FEATURE_FIND_CMIN is not set # CONFIG_FEATURE_FIND_PERM is not set # CONFIG_FEATURE_FIND_TYPE is not set # CONFIG_FEATURE_FIND_EXECUTABLE is not set @@ -445,6 +458,7 @@ CONFIG_FEATURE_ALLOW_EXEC=y # CONFIG_FEATURE_FIND_MAXDEPTH is not set # CONFIG_FEATURE_FIND_NEWER is not set # CONFIG_FEATURE_FIND_INUM is not set +# CONFIG_FEATURE_FIND_SAMEFILE is not set # CONFIG_FEATURE_FIND_EXEC is not set # CONFIG_FEATURE_FIND_EXEC_PLUS is not set # CONFIG_FEATURE_FIND_USER is not set @@ -506,10 +520,10 @@ CONFIG_USE_BB_PWD_GRP=y # CONFIG_USE_BB_SHADOW is not set CONFIG_USE_BB_CRYPT=y CONFIG_USE_BB_CRYPT_SHA=y -# CONFIG_ADDGROUP is not set -# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set # CONFIG_ADD_SHELL is not set # CONFIG_REMOVE_SHELL is not set +# CONFIG_ADDGROUP is not set +# CONFIG_FEATURE_ADDUSER_TO_GROUP is not set # CONFIG_ADDUSER is not set # CONFIG_FEATURE_CHECK_NAMES is not set CONFIG_LAST_ID=0 @@ -735,6 +749,7 @@ CONFIG_FEATURE_VOLUMEID_XFS=y # Miscellaneous Utilities # # CONFIG_ADJTIMEX is not set +CONFIG_ASCII=y # CONFIG_BBCONFIG is not set # CONFIG_FEATURE_COMPRESS_BBCONFIG is not set # CONFIG_BC is not set @@ -768,10 +783,10 @@ CONFIG_CRONTAB=y # CONFIG_FEATURE_DEVFS is not set # CONFIG_DEVMEM is not set # CONFIG_FBSPLASH is not set -# CONFIG_FLASHCP is not set # CONFIG_FLASH_ERASEALL is not set # CONFIG_FLASH_LOCK is not set # CONFIG_FLASH_UNLOCK is not set +# CONFIG_FLASHCP is not set # CONFIG_HDPARM is not set # CONFIG_FEATURE_HDPARM_GET_IDENTITY is not set # CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF is not set @@ -815,21 +830,24 @@ CONFIG_FEATURE_LESS_ENV=y # CONFIG_RFKILL is not set # CONFIG_RUNLEVEL is not set # CONFIG_RX is not set +# CONFIG_SEEDRNG is not set # CONFIG_SETFATTR is not set CONFIG_SETSERIAL=y CONFIG_STRINGS=y CONFIG_TIME=y +CONFIG_TREE=y # CONFIG_TS is not set # CONFIG_TTYSIZE is not set -# CONFIG_UBIRENAME is not set # CONFIG_UBIATTACH is not set # CONFIG_UBIDETACH is not set # CONFIG_UBIMKVOL is not set # CONFIG_UBIRMVOL is not set # CONFIG_UBIRSVOL is not set # CONFIG_UBIUPDATEVOL is not set +# CONFIG_UBIRENAME is not set # CONFIG_VOLNAME is not set # CONFIG_WATCHDOG is not set +# CONFIG_FEATURE_WATCHDOG_OPEN_TWICE is not set # # Networking Utilities @@ -838,6 +856,9 @@ CONFIG_TIME=y # CONFIG_FEATURE_UNIX_LOCAL is not set # CONFIG_FEATURE_PREFER_IPV4_ADDRESS is not set # CONFIG_VERBOSE_RESOLUTION_ERRORS is not set +# CONFIG_FEATURE_ETC_NETWORKS is not set +# CONFIG_FEATURE_ETC_SERVICES is not set +# CONFIG_FEATURE_HWIB is not set # CONFIG_FEATURE_TLS_SHA1 is not set # CONFIG_ARP is not set # CONFIG_ARPING is not set @@ -856,6 +877,7 @@ CONFIG_TIME=y CONFIG_HOSTNAME=y # CONFIG_DNSDOMAINNAME is not set # CONFIG_HTTPD is not set +CONFIG_FEATURE_HTTPD_PORT_DEFAULT=0 # CONFIG_FEATURE_HTTPD_RANGES is not set # CONFIG_FEATURE_HTTPD_SETUID is not set # CONFIG_FEATURE_HTTPD_BASIC_AUTH is not set @@ -948,6 +970,7 @@ CONFIG_FEATURE_IP_ROUTE_DIR="" # CONFIG_FEATURE_TELNET_WIDTH is not set # CONFIG_TELNETD is not set # CONFIG_FEATURE_TELNETD_STANDALONE is not set +CONFIG_FEATURE_TELNETD_PORT_DEFAULT=0 # CONFIG_FEATURE_TELNETD_INETD_WAIT is not set # CONFIG_TFTP is not set # CONFIG_FEATURE_TFTP_PROGRESS_BAR is not set @@ -968,6 +991,7 @@ CONFIG_FEATURE_IP_ROUTE_DIR="" # CONFIG_WGET is not set # CONFIG_FEATURE_WGET_LONG_OPTIONS is not set # CONFIG_FEATURE_WGET_STATUSBAR is not set +# CONFIG_FEATURE_WGET_FTP is not set # CONFIG_FEATURE_WGET_AUTHENTICATION is not set # CONFIG_FEATURE_WGET_TIMEOUT is not set # CONFIG_FEATURE_WGET_HTTPS is not set @@ -984,11 +1008,13 @@ CONFIG_DHCPD_LEASES_FILE="" # CONFIG_FEATURE_UDHCPC_ARPING is not set # CONFIG_FEATURE_UDHCPC_SANITIZEOPT is not set CONFIG_UDHCPC_DEFAULT_SCRIPT="" +CONFIG_UDHCPC6_DEFAULT_SCRIPT="" # CONFIG_UDHCPC6 is not set # CONFIG_FEATURE_UDHCPC6_RFC3646 is not set # CONFIG_FEATURE_UDHCPC6_RFC4704 is not set # CONFIG_FEATURE_UDHCPC6_RFC4833 is not set # CONFIG_FEATURE_UDHCPC6_RFC5970 is not set +CONFIG_UDHCPC_DEFAULT_INTERFACE="" # CONFIG_FEATURE_UDHCP_PORT is not set CONFIG_UDHCP_DEBUG=0 CONFIG_UDHCPC_SLACK_FOR_BUGGY_SERVERS=0 @@ -1006,17 +1032,19 @@ CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="" # # Mail Utilities # +CONFIG_FEATURE_MIME_CHARSET="" # CONFIG_MAKEMIME is not set # CONFIG_POPMAILDIR is not set # CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set # CONFIG_REFORMIME is not set # CONFIG_FEATURE_REFORMIME_COMPAT is not set # CONFIG_SENDMAIL is not set -CONFIG_FEATURE_MIME_CHARSET="" # # Process Utilities # +CONFIG_FEATURE_FAST_TOP=y +CONFIG_FEATURE_SHOW_THREADS=y # CONFIG_FREE is not set # CONFIG_FUSER is not set # CONFIG_IOSTAT is not set @@ -1055,7 +1083,6 @@ CONFIG_FEATURE_TOPMEM=y # CONFIG_UPTIME is not set # CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set # CONFIG_WATCH is not set -# CONFIG_FEATURE_SHOW_THREADS is not set # # Runit Utilities @@ -1112,6 +1139,7 @@ CONFIG_ASH_MAIL=y CONFIG_ASH_ECHO=y CONFIG_ASH_PRINTF=y CONFIG_ASH_TEST=y +CONFIG_ASH_SLEEP=y CONFIG_ASH_HELP=y CONFIG_ASH_GETOPTS=y CONFIG_ASH_CMDCMD=y @@ -1120,8 +1148,8 @@ CONFIG_CTTYHACK=y CONFIG_SHELL_HUSH=y CONFIG_HUSH_BASH_COMPAT=y CONFIG_HUSH_BRACE_EXPANSION=y -CONFIG_HUSH_LINENO_VAR=y # CONFIG_HUSH_BASH_SOURCE_CURDIR is not set +CONFIG_HUSH_LINENO_VAR=y CONFIG_HUSH_INTERACTIVE=y CONFIG_HUSH_SAVEHISTORY=y CONFIG_HUSH_JOB=y diff --git a/byondvm/kernel.config b/byondvm/kernel.config index 00b783c..c98d4d7 100644 --- a/byondvm/kernel.config +++ b/byondvm/kernel.config @@ -1,46 +1,37 @@ CONFIG_KERNEL_LZ4=y -# CONFIG_USELIB is not set CONFIG_NO_HZ_IDLE=y CONFIG_HIGH_RES_TIMERS=y -CONFIG_PREEMPT=y +# CONFIG_PREEMPT_DYNAMIC is not set CONFIG_BLK_DEV_INITRD=y -CONFIG_INITRAMFS_SOURCE="${BR_BINARIES_DIR}/rootfs.cpio" # CONFIG_RD_GZIP is not set # CONFIG_RD_BZIP2 is not set # CONFIG_RD_LZMA is not set # CONFIG_RD_XZ is not set # CONFIG_RD_LZO is not set -# CONFIG_RD_LZ4 is not set # CONFIG_RD_ZSTD is not set -# CONFIG_PRINTK is not set +CONFIG_EXPERT=y +# CONFIG_UID16 is not set +# CONFIG_SGETMASK_SYSCALL is not set +# CONFIG_SYSFS_SYSCALL is not set +# CONFIG_FHANDLE is not set # CONFIG_BUG is not set # CONFIG_PCSPKR_PLATFORM is not set # CONFIG_SHMEM is not set -CONFIG_EMBEDDED=y -# CONFIG_VM_EVENT_COUNTERS is not set -# CONFIG_SLUB_DEBUG is not set -# CONFIG_RETPOLINE is not set +# CONFIG_KALLSYMS is not set # CONFIG_X86_EXTENDED_PLATFORM is not set CONFIG_MPENTIUMIII=y -CONFIG_PROCESSOR_SELECT=y -# CONFIG_CPU_SUP_CYRIX_32 is not set -# CONFIG_CPU_SUP_AMD is not set -# CONFIG_CPU_SUP_HYGON is not set -# CONFIG_CPU_SUP_CENTAUR is not set -# CONFIG_CPU_SUP_TRANSMETA_32 is not set -# CONFIG_CPU_SUP_UMC_32 is not set -# CONFIG_CPU_SUP_ZHAOXIN is not set -# CONFIG_DMI is not set # CONFIG_X86_MCE is not set +# CONFIG_PERF_EVENTS_INTEL_UNCORE is not set +# CONFIG_PERF_EVENTS_INTEL_RAPL is not set +# CONFIG_PERF_EVENTS_INTEL_CSTATE is not set +# CONFIG_PERF_EVENTS_AMD_UNCORE is not set # CONFIG_X86_IOPL_IOPERM is not set -# CONFIG_MICROCODE is not set -# CONFIG_MTRR is not set -# CONFIG_X86_SMAP is not set # CONFIG_X86_UMIP is not set # CONFIG_RELOCATABLE is not set CONFIG_CMDLINE_BOOL=y -CONFIG_CMDLINE="console=ttyS1" +CONFIG_CMDLINE="console=ttyS1 HOME=/root" # CONFIG_MODIFY_LDT_SYSCALL is not set +# CONFIG_CPU_MITIGATIONS is not set # CONFIG_SUSPEND is not set # CONFIG_ACPI_SPCR_TABLE is not set # CONFIG_ACPI_REV_OVERRIDE_POSSIBLE is not set @@ -50,33 +41,41 @@ CONFIG_CMDLINE="console=ttyS1" # CONFIG_ACPI_FAN is not set # CONFIG_ACPI_THERMAL is not set # CONFIG_ACPI_TABLE_UPGRADE is not set -CONFIG_CPU_IDLE_GOV_LADDER=y # CONFIG_VIRTUALIZATION is not set +CONFIG_JUMP_LABEL=y +CONFIG_STATIC_KEYS_SELFTEST=y +CONFIG_STATIC_CALL_SELFTEST=y # CONFIG_SECCOMP is not set # CONFIG_STACKPROTECTOR is not set +# CONFIG_RANDOMIZE_KSTACK_OFFSET is not set # CONFIG_GCC_PLUGINS is not set # CONFIG_BLOCK is not set # CONFIG_COREDUMP is not set +# CONFIG_VM_EVENT_COUNTERS is not set +# CONFIG_SECRETMEM is not set CONFIG_NET=y -CONFIG_UNIX=y -CONFIG_INET=y -# CONFIG_INET_DIAG is not set +# CONFIG_UNIX is not set # CONFIG_IPV6 is not set # CONFIG_WIRELESS is not set CONFIG_NET_9P=y CONFIG_NET_9P_VIRTIO=y # CONFIG_ETHTOOL_NETLINK is not set CONFIG_PCI=y -# CONFIG_PCIEASPM is not set -# CONFIG_PCI_QUIRKS is not set CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_FW_LOADER is not set # CONFIG_ALLOW_DEV_COREDUMP is not set -# CONFIG_FIRMWARE_MEMMAP is not set +# CONFIG_PNP_DEBUG_MESSAGES is not set +CONFIG_INPUT_FF_MEMLESS=y +# CONFIG_INPUT_KEYBOARD is not set # CONFIG_INPUT_MOUSE is not set -CONFIG_VT_HW_CONSOLE_BINDING=y +# CONFIG_SERIO_I8042 is not set +# CONFIG_SERIO_SERPORT is not set +# CONFIG_VT is not set +# CONFIG_UNIX98_PTYS is not set # CONFIG_LEGACY_PTYS is not set +# CONFIG_LEGACY_TIOCSTI is not set +# CONFIG_LDISC_AUTOLOAD is not set CONFIG_SERIAL_8250=y CONFIG_SERIAL_8250_CONSOLE=y CONFIG_SERIAL_8250_EXTENDED=y @@ -84,14 +83,16 @@ CONFIG_SERIAL_8250_MANY_PORTS=y CONFIG_SERIAL_8250_SHARE_IRQ=y CONFIG_SERIAL_8250_DETECT_IRQ=y CONFIG_SERIAL_NONSTANDARD=y +# CONFIG_HW_RANDOM is not set # CONFIG_DEVMEM is not set # CONFIG_DEVPORT is not set # CONFIG_HWMON is not set -# CONFIG_VGA_ARB is not set +# CONFIG_HID_SUPPORT is not set # CONFIG_USB_SUPPORT is not set CONFIG_VIRTIO_PCI=y # CONFIG_VIRTIO_PCI_LEGACY is not set # CONFIG_VHOST_MENU is not set +# CONFIG_SURFACE_PLATFORMS is not set # CONFIG_X86_PLATFORM_DEVICES is not set # CONFIG_IOMMU_SUPPORT is not set CONFIG_FSCACHE=y @@ -99,15 +100,19 @@ CONFIG_FSCACHE=y CONFIG_9P_FS=y CONFIG_9P_FSCACHE=y CONFIG_9P_FS_POSIX_ACL=y +CONFIG_INIT_STACK_NONE=y CONFIG_XZ_DEC=y -CONFIG_MAGIC_SYSRQ=y +# CONFIG_XZ_DEC_POWERPC is not set +# CONFIG_XZ_DEC_IA64 is not set +# CONFIG_XZ_DEC_ARM is not set +# CONFIG_XZ_DEC_ARMTHUMB is not set +# CONFIG_XZ_DEC_SPARC is not set # CONFIG_DEBUG_MISC is not set +CONFIG_MAGIC_SYSRQ=y +# CONFIG_SLUB_DEBUG is not set CONFIG_PANIC_ON_OOPS=y -# CONFIG_SCHED_DEBUG is not set -# CONFIG_DEBUG_PREEMPT is not set -# CONFIG_RCU_TRACE is not set # CONFIG_FTRACE is not set # CONFIG_X86_VERBOSE_BOOTUP is not set -# CONFIG_EARLY_PRINTK is not set # CONFIG_X86_DEBUG_FPU is not set +CONFIG_UNWINDER_GUESS=y # CONFIG_RUNTIME_TESTING_MENU is not set diff --git a/configs/byondvm_defconfig b/configs/byondvm_defconfig index 4cba3d7..83177c8 100644 --- a/configs/byondvm_defconfig +++ b/configs/byondvm_defconfig @@ -1,13 +1,11 @@ BR2_x86_pentium3=y +BR2_KERNEL_HEADERS_5_10=y +BR2_PACKAGE_GLIBC_UTILS=y +BR2_TOOLCHAIN_BUILDROOT_CXX=y BR2_CCACHE=y BR2_OPTIMIZE_3=y BR2_GLOBAL_PATCH_DIR="byondvm/patches" BR2_PER_PACKAGE_DIRECTORIES=y -BR2_TOOLCHAIN_BUILDROOT_GLIBC=y -BR2_KERNEL_HEADERS_5_10=y -BR2_PACKAGE_GLIBC_UTILS=y -BR2_TOOLCHAIN_BUILDROOT_CXX=y -BR2_GCC_ENABLE_LTO=y BR2_TARGET_GENERIC_HOSTNAME="byondvm" BR2_TARGET_GENERIC_ISSUE="Welcome to DM Playground" BR2_ROOTFS_MERGED_USR=y @@ -22,10 +20,9 @@ BR2_PACKAGE_BUSYBOX_CONFIG="byondvm/byondvm/busybox.config" BR2_PACKAGE_NCURSES=y # BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set # BR2_PACKAGE_URANDOM_SCRIPTS is not set -BR2_TARGET_ROOTFS_INITRAMFS=y -BR2_TARGET_ROOTFS_ISO9660=y -# BR2_TARGET_ROOTFS_ISO9660_INITRD is not set -BR2_TARGET_ROOTFS_ISO9660_HYBRID=y +BR2_PACKAGE_UTIL_LINUX=y +BR2_PACKAGE_UTIL_LINUX_LIBUUID=y +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_CPIO_LZ4=y # BR2_TARGET_ROOTFS_TAR is not set -BR2_TARGET_SYSLINUX=y BR2_PACKAGE_BYONDVM_CONTROLLER=y diff --git a/readme.MD b/readme.MD index db9b96a..dee4c0d 100644 --- a/readme.MD +++ b/readme.MD @@ -1,7 +1,7 @@ # dm-playground-linux This repo contains the buildroot configuration files to create the iso used in dm playground -1. download buildroot 2022.05 and extract to a folder. +1. download buildroot 2024.02 and extract to a folder. 2. install buildroot dependencies (its in their documentation) 3. shove contents of repo in /byondvm 4. run `make defconfig byondvm_defconfig BR2_EXTERNAL=byondvm` diff --git a/setup.sh b/setup.sh old mode 100644 new mode 100755 index 5496e96..6f7ee82 --- a/setup.sh +++ b/setup.sh @@ -8,7 +8,7 @@ rm ../buildroot -rf #Download buildroot, extract inside directory, delete tar file, move decompressed directory and remove temp dir mkdir temp -wget https://buildroot.org/downloads/buildroot-2022.05.1.tar.gz -O temp/buildroot.tar.gz +wget https://buildroot.org/downloads/buildroot-2024.02.3.tar.gz -O temp/buildroot.tar.gz tar -xvf temp/buildroot.tar.gz rm temp/buildroot.tar.gz mv buildroot-* ../buildroot