Skip to content

Commit

Permalink
use linux-virt alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammerIn-wonderland committed Sep 2, 2024
1 parent 51b505a commit f7ea7b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config.default.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
},
"x86": {
"alpine": {
"bzimage": "/x86images/alpine-boot/vmlinuz-lts",
"initrd": "/x86images/alpine-boot/initramfs-lts",
"bzimage": "/x86images/alpine-boot/vmlinuz-virt",
"initrd": "/x86images/alpine-boot/initramfs-virt",
"rootfs": [
"x86images/alpine-rootfs/aa",
"x86images/alpine-rootfs/ab",
Expand Down
4 changes: 2 additions & 2 deletions x86_image_wizard/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM i386/alpine:edge

RUN apk add --update \
alpine-base alpine-conf openrc bash ncurses shadow curl \
linux-lts linux-firmware-none linux-firmware-sb16 linux-headers \
linux-virt linux-firmware-none linux-firmware-sb16 linux-headers \
gcc make gcompat musl-dev libx11-dev xinit \
curl bind-tools \
htop vim nano
Expand Down Expand Up @@ -44,5 +44,5 @@ RUN rc-update add killprocs shutdown
RUN rc-update add twisp-service default

COPY mkinitfs.conf /etc/mkinitfs/mkinitfs.conf
RUN mkinitfs -c /etc/mkinitfs/mkinitfs.conf -b / $(cat /usr/share/kernel/lts/kernel.release)
RUN mkinitfs -c /etc/mkinitfs/mkinitfs.conf -b / $(cat /usr/share/kernel/virt/kernel.release)
RUN bash

0 comments on commit f7ea7b7

Please sign in to comment.