swm_version: 1 base: distro_version: dev pins: {} mutations: - type: source_patch tarball: https://www.kernel.org/pub/linux/utils/kbd/kbd-2.8.0.tar.gz sha256: 6ac74113b08ffe2bbc31690c51d5a627399ebf070907a0a55468563ea965836a patches: - "Lexer is never run so don't bother\n\n--- a/configure\n+++ b/configure\n@@ -7131,10 +7131,6 @@\n rm -f conftest.l $LEX_OUTPUT_ROOT.c\n \n fi\n-if test \"x$LEX\" != xflex\n-then :\n- as_fn_error $? \"kbd depends on flex features, but found '$LEX'.\" \"$LINENO\" 5\n-fi\n \n { printf \"%s\\n\" \"$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -std=gnu11\" >&5\n printf %s \"checking whether C compiler accepts -std=gnu11... \" >&6; }\n" build: compiler: zig-cc target: x86_64-linux-musl link: static flags: [] phases: configure: "./configure \\\n\t--build=$CBUILD \\\n\t--host=$CHOST \\\n\t--prefix=/usr \\\n\t--sysconfdir=/etc \\\n\t--datadir=/usr/share \\\n\t--disable-nls \\\n\t--disable-vlock \\\n\t--disable-tests\n" compile: | make LDFLAGS="-all-static -no-pie" install: | make DESTDIR="/out" install LDFLAGS="-all-static -no-pie" # Replace busybox setfont utility. mkdir -p "/out"/usr/sbin mv "/out"/usr/bin/setfont "/out"/usr/sbin # Replace busybox kbd_mode mkdir -p "/out"/bin mv "/out"/usr/bin/kbd_mode "/out"/bin # Link open to openvt ln -s openvt "/out"/usr/bin/open strip_debug: true target_bin: /usr/bin/kbd expected_hash: b3:be9969f808c8499972e213f474a52d5f7477bf7faff78b6e0ec580aede507231 deps: build: - binutils - flex - linux-headers - make - pkgconf runtime: []