Splux Linux

source-based Linux using SPS

sps-core · log · files · refs · tags · releases · people · languages · GitHub · commit

57cc657


core: add Splux desktop kernels; leave udev to the init choice

Date
Commit57cc657b4d86848759fcdc7816bf0b10256e4bbc
GitHubmirror

Parents

Stat

 README.md                   | 10 ++++++++--
 base/eudev/recipe           |  3 ++-
 kernel/linux-custom/recipe  | 18 ++++++++++++++++++
 kernel/linux-desktop/recipe | 19 +++++++++++++++++++
 meta/base-system/recipe     |  3 +--
 5 files changed, 48 insertions(+), 5 deletions(-)

Diff

diff --git a/README.md b/README.md
index 65f4018..76f68c0 100644
--- a/README.md
+++ b/README.md
@@ -1,10 +1,16 @@
 # SPS core package collection
 
-This repository contains the official SPS source definitions for the base
-system: the bootstrap toolchain, fundamental libraries and utilities, boot and
+This repository is the official base recipe tree for **SPS Linux**
+(informally Splux): bootstrap toolchain, libraries, utilities, boot and
 device infrastructure, networking, and SPS itself. It contains recipes and
 small supporting files, not source archives or binary packages.
 
+SPS the package system is separate from the distro. These recipes are ordinary
+SPS recipes, so a Linux From Scratch tree (or any other SPS root) can consume
+them. The `linux-desktop` and `linux-custom` kernels, and anything `setup`
+does with hostname, fstab, and init, are SPS Linux defaults. An LFS build
+using SPS does not have to follow that installer.
+
 Package categories are organizational. A package's `name` record is its
 identity; the category is not part of the name. Core uses these categories as
 packages are added:
diff --git a/base/eudev/recipe b/base/eudev/recipe
index 502e07e..89bd433 100644
--- a/base/eudev/recipe
+++ b/base/eudev/recipe
@@ -1,6 +1,6 @@
 name        eudev
 version     3.2.14
-release     1
+release     2
 description eudev: device manager
 
 source      https://github.com/eudev-project/eudev/releases/download/v3.2.14/eudev-3.2.14.tar.gz
@@ -8,6 +8,7 @@ hash        sha256:8da4319102f24abbf7fff5ce9c416af848df163b29590e666d334cc1927f0
 
 depend      filesystem
 depend      kmod
+conflict    systemd
 
 configure   ./configure --prefix=/usr
 build       make -j"$MAKEJOBS"
diff --git a/kernel/linux-custom/recipe b/kernel/linux-custom/recipe
new file mode 100644
index 0000000..68d2a58
--- /dev/null
+++ b/kernel/linux-custom/recipe
@@ -0,0 +1,18 @@
+name        linux-custom
+version     7.2.2
+release     1
+description linux-custom: SPS Linux (Splux) kernel from /etc/sps/kernel.config
+
+source      https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-${version}.tar.xz
+hash        sha256:7d0e7ce14f98c43efe880cffbf354a59be45928fdf7170d7333c374ae91c0d83
+
+depend      filesystem
+depend      kmod
+depend      busybox
+
+configure   if [ -f "${SPS_ROOT:-/}/etc/sps/kernel.config" ]; then cp "${SPS_ROOT:-/}/etc/sps/kernel.config" .config; else make defconfig; fi
+configure   make olddefconfig
+build       make -j"$MAKEJOBS"
+install     make INSTALL_MOD_PATH="$PKG" INSTALL_PATH="$PKG/boot" modules_install
+install     mkdir -p "$PKG/boot"
+install     cp arch/x86/boot/bzImage "$PKG/boot/vmlinuz-custom-7.2.2"
diff --git a/kernel/linux-desktop/recipe b/kernel/linux-desktop/recipe
new file mode 100644
index 0000000..d73ce3e
--- /dev/null
+++ b/kernel/linux-desktop/recipe
@@ -0,0 +1,19 @@
+name        linux-desktop
+version     7.2.2
+release     1
+description linux-desktop: SPS Linux (Splux) daily-driver kernel
+
+source      https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-${version}.tar.xz
+hash        sha256:7d0e7ce14f98c43efe880cffbf354a59be45928fdf7170d7333c374ae91c0d83
+
+depend      filesystem
+depend      kmod
+depend      busybox
+
+configure   make defconfig
+configure   ./scripts/config --enable DRM --enable DRM_NOUVEAU --enable DRM_I915 --enable DRM_AMDGPU --enable FB_EFI --enable EFI --enable EFI_STUB --enable BLK_DEV_NVME --enable EXT4_FS --enable BTRFS_FS --enable XFS_FS --enable OVERLAY_FS --enable SQUASHFS --enable FUSE_FS --enable VFAT_FS --enable TMPFS --enable CGROUPS --enable NAMESPACES --enable NETFILTER --enable BRIDGE --enable VETH --enable TUN --enable SND --enable SND_HDA_INTEL --enable USB --enable USB_XHCI_HCD --enable HID --enable HID_GENERIC --enable INPUT_EVDEV --enable IWLWIFI --enable CFG80211 --enable MAC80211 --enable KVM --enable VIRTIO --enable VIRTIO_PCI --enable VIRTIO_NET --enable VIRTIO_BLK --enable FW_LOADER --enable MICROCODE --enable IKCONFIG --enable IKCONFIG_PROC --enable SYSFB_SIMPLEFB --enable DRM_BOCHS --enable DRM_VIRTIO_GPU
+configure   make olddefconfig
+build       make -j"$MAKEJOBS"
+install     make INSTALL_MOD_PATH="$PKG" INSTALL_PATH="$PKG/boot" modules_install
+install     mkdir -p "$PKG/boot"
+install     cp arch/x86/boot/bzImage "$PKG/boot/vmlinuz-desktop-7.2.2"
diff --git a/meta/base-system/recipe b/meta/base-system/recipe
index 9ee2fa2..e98fbc0 100644
--- a/meta/base-system/recipe
+++ b/meta/base-system/recipe
@@ -1,6 +1,6 @@
 name        base-system
 version     1.0
-release     1
+release     2
 arch        any
 description base-system: essential SPS userland
 
@@ -49,7 +49,6 @@ depend      bc
 depend      cpio
 depend      busybox
 depend      kmod
-depend      eudev
 depend      iproute2
 depend      dhcpcd
 depend      iputils