Skip to content

Commit

Permalink
Merge pull request #1424 from jluebbe/qemu-faketime
Browse files Browse the repository at this point in the history
qemu-test-init: fix support for faketime
  • Loading branch information
ejoerns committed May 15, 2024
2 parents 9deacf1 + 91351ca commit 60ed4f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions qemu-test-init
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ mount -t tmpfs none /root
mount -t tmpfs none /run
mount -t tmpfs none /tmp

# create /dev/shm for faketime
mkdir /dev/shm
mount -t tmpfs none /dev/shm

# create overlay for /etc
mkdir /tmp/etc-overlay /tmp/etc-work
mount -t overlay overlay -o lowerdir=/etc,upperdir=/tmp/etc-overlay,workdir=/tmp/etc-work /etc
Expand Down

0 comments on commit 60ed4f7

Please sign in to comment.