Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support ubuntu12 #57

Closed
wants to merge 2 commits into from
Closed

Conversation

ssst0n3
Copy link

@ssst0n3 ssst0n3 commented Aug 27, 2024

to fix #55

What this commit did:

  1. mkfs.ext4 -O ^has_journal,^metadata_csum
  2. restore initctl
  3. setup ttyS0
  4. remove packages ubuntu12 does not support

Testcase:

$ cat Dockerfile                                                                                                                                     
FROM ubuntu:12.04

# apt sources
RUN sed -i 's/archive/old-releases/g' /etc/apt/sources.list

$ docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock --privileged -v $(pwd):/d2vm -w /d2vm ssst0n3/d2vm:v0.2.1-dev build -f Dockerfile . -v

$ cp disk0.qcow2 vm.qcow2
$ qemu-system-x86_64 -hda vm.qcow2 --enable-kvm -nographic
...
Ubuntu 12.04.5 LTS localhost.localdomain ttyS0

localhost login: 

@ssst0n3
Copy link
Author

ssst0n3 commented Aug 29, 2024

see #58

@ssst0n3 ssst0n3 closed this Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ubuntu 12.04 support
1 participant