Skip to content

Commit a0dd931

Browse files
authored
fix:Correcting the way of deleting the qemu-build file (#75)
Signed-off-by: yishangzhang <[email protected]>
1 parent f61fea9 commit a0dd931

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

Fedora-35/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ RUN dnf \
9999
cd qemu && \
100100
./configure --target-list=x86_64-softmmu,arm-softmmu,aarch64-softmmu,loongarch64-softmmu --enable-gtk && \
101101
make install -j $(nproc) && \
102-
rm -rf qemu-build && \
102+
cd .. && \
103+
rm -rf qemu && \
103104
dnf \
104105
--assumeyes \
105106
remove \

Fedora-35/Readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,4 @@ These images include:
2020
- nasm 2.15.05
2121
- Python 3.10
2222
- Qemu 8.0.0 (x86, arm ,aarch64, loongarch)
23+

Fedora-37/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ RUN dnf \
101101
cd qemu && \
102102
./configure --target-list=x86_64-softmmu,arm-softmmu,aarch64-softmmu,loongarch64-softmmu --enable-gtk && \
103103
make install -j $(nproc) && \
104-
rm -rf qemu-build && \
104+
cd .. && \
105+
rm -rf qemu && \
105106
dnf \
106107
--assumeyes \
107108
remove \

Ubuntu-20/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ RUN apt-get update && apt-get install --yes --no-install-recommends \
162162
tar -xf qemu-7.1.0.tar.xz --strip-components=1 && \
163163
./configure --target-list=x86_64-softmmu,arm-softmmu,aarch64-softmmu,riscv32-softmmu,riscv32-linux-user,riscv64-linux-user,riscv64-softmmu && \
164164
make install -j $(nproc) && \
165+
cd .. && \
165166
rm -rf qemu-build && \
166167
apt remove --yes \
167168
ninja-build

Ubuntu-22/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ RUN apt-get update && apt-get install --yes --no-install-recommends \
151151
tar -xf qemu-7.1.0.tar.xz --strip-components=1 && \
152152
./configure --target-list=x86_64-softmmu,arm-softmmu,aarch64-softmmu,riscv32-softmmu,riscv32-linux-user,riscv64-linux-user,riscv64-softmmu && \
153153
make install -j $(nproc) && \
154+
cd .. && \
154155
rm -rf qemu-build && \
155156
apt remove --yes \
156157
ninja-build

0 commit comments

Comments
 (0)