Skip to content

Commit

Permalink
Update to Fedora34
Browse files Browse the repository at this point in the history
  • Loading branch information
yosukes-dev committed May 26, 2021
1 parent 986faa2 commit daceb18
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
OUT_ZIP=Fedora33.zip
LNCR_EXE=Fedora33.exe
OUT_ZIP=Fedora34.zip
LNCR_EXE=Fedora34.exe

DLR=curl
DLR_FLAGS=-L
Expand Down Expand Up @@ -43,7 +43,7 @@ rootfs: base.tar

base.tar:
@echo -e '\e[1;31mExporting base.tar using docker...\e[m'
docker run --name fedorawsl library/fedora:33 /bin/bash -c "dnf update -y; rpm -e --nodeps sudo; dnf clean all; pwconv; grpconv; chmod 0744 /etc/shadow; chmod 0744 /etc/gshadow;"
docker run --name fedorawsl library/fedora@sha256:6c8b3dea130cfa28babcb4d73450ed64f962e5464ab191bc0539487daf25d533 /bin/bash -c "dnf update -y; rpm -e --nodeps sudo; dnf clean all; pwconv; grpconv; chmod 0744 /etc/shadow; chmod 0744 /etc/gshadow;"
docker export --output=base.tar fedorawsl
docker rm -f fedorawsl

Expand All @@ -56,4 +56,4 @@ clean:
-rm rootfs.tar.gz
-sudo rm -r rootfs
-rm base.tar
-docker rmi library/fedora:33
-docker rmi library/fedora@sha256:6c8b3dea130cfa28babcb4d73450ed64f962e5464ab191bc0539487daf25d533

0 comments on commit daceb18

Please sign in to comment.