mirror of
https://github.com/johndoe6345789/SparkOS.git
synced 2026-04-24 13:34:56 +00:00
Replace Unix shell boot with direct Qt6 GUI kernel interface
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
FROM ubuntu:22.04 AS image-builder
|
FROM ubuntu:22.04 AS image-builder
|
||||||
|
|
||||||
# Install required tools
|
# Install required tools (includes Qt6 and CMake)
|
||||||
COPY scripts/docker-image-install-tools.sh /tmp/
|
COPY scripts/docker-image-install-tools.sh /tmp/
|
||||||
RUN /tmp/docker-image-install-tools.sh
|
RUN /tmp/docker-image-install-tools.sh
|
||||||
|
|
||||||
@@ -16,8 +16,12 @@ COPY scripts/ ./scripts/
|
|||||||
COPY config/ ./config/
|
COPY config/ ./config/
|
||||||
COPY rootfs/ ./rootfs/
|
COPY rootfs/ ./rootfs/
|
||||||
|
|
||||||
# Build the init binary
|
# Build the init binary and Qt6 GUI application
|
||||||
RUN make init
|
RUN make init
|
||||||
|
RUN make gui
|
||||||
|
|
||||||
|
# Install to rootfs
|
||||||
|
RUN make install
|
||||||
|
|
||||||
# Download a minimal Linux kernel (using Ubuntu's kernel for now)
|
# Download a minimal Linux kernel (using Ubuntu's kernel for now)
|
||||||
COPY scripts/docker-image-download-kernel.sh /tmp/
|
COPY scripts/docker-image-download-kernel.sh /tmp/
|
||||||
|
|||||||
@@ -6,7 +6,14 @@ set -e
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
gcc \
|
gcc \
|
||||||
|
g++ \
|
||||||
make \
|
make \
|
||||||
|
cmake \
|
||||||
|
qt6-base-dev \
|
||||||
|
qt6-base-dev-tools \
|
||||||
|
libqt6core6 \
|
||||||
|
libqt6gui6 \
|
||||||
|
libqt6widgets6 \
|
||||||
dosfstools \
|
dosfstools \
|
||||||
mtools \
|
mtools \
|
||||||
e2fsprogs \
|
e2fsprogs \
|
||||||
|
|||||||
Reference in New Issue
Block a user