Skip to contentSkip to conversation

tools: docker: Drop the git user name and email configuration

PATCH In review Bin Meng 3 participants 4 messages Jan 4, 2024 – Oct 10, 2024

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 tools: docker: Drop the git user name and email configuration

Since commit b45ab9ca6621 ("CI: Update to QEMU 8.0.3"), the manual patch applying was removed, hence there is no need to do a git user name and email configuration.

---

 tools/docker/Dockerfile | 3 ---
 1 file changed, 3 deletions(-)
tools/docker/Dockerfile +0 -3
index c4a2596b48..c12ed0fd9b 100644
@@ -179,9 +179,6 @@ RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \
 RUN git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu && \
 	cd /tmp/qemu && \
 	git checkout v8.0.3 && \
-	# config user.name and user.email to make 'git am' happy
-	git config user.name u-boot && \
-	git config user.email [email protected] && \
 	./configure --prefix=/opt/qemu --target-list="aarch64-softmmu,arm-softmmu,i386-softmmu,m68k-softmmu,mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu,ppc-softmmu,riscv32-softmmu,riscv64-softmmu,sh4-softmmu,x86_64-softmmu,xtensa-softmmu" && \
 	make -j$(nproc) all install && \
 	rm -rf /tmp/qemu
Signature · 1 line
2.34.1
#1 lore raw
Quoted 16 lines · Bin Meng

Since commit b45ab9ca6621 ("CI: Update to QEMU 8.0.3"), the manual patch applying was removed, hence there is no need to do a git user name and email configuration.

---

 tools/docker/Dockerfile | 3 ---
 1 file changed, 3 deletions(-)
tools/docker/Dockerfile +0 -0
index c4a2596b48..c12ed0fd9b 100644

tools/docker/Dockerfile RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \ · line 184

Quoted 9 lines
tools/docker/Dockerfile +0 -3
@@ -179,9 +179,6 @@ RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \
 RUN git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu && \
 	cd /tmp/qemu && \
 	git checkout v8.0.3 && \
-	# config user.name and user.email to make 'git am' happy
-	git config user.name u-boot && \
-	git config user.email [email protected] && \
 	./configure --prefix=/opt/qemu --target-list="aarch64-softmmu,arm-softmmu,i386-softmmu,m68k-softmmu,mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu,ppc-softmmu,riscv32-softmmu,riscv64-softmmu,sh4-softmmu,x86_64-softmmu,xtensa-softmmu" && \
 	make -j$(nproc) all install && \
 	rm -rf /tmp/qemu

I'll apply this next time I update / respin the images but I hadn't dropped this part just to make the next time we do need to backport a patch easier.

Signature · 1 line
Tom
#2 lore raw

Hi Tom,

Quoted 24 lines · Tom Rini
Quoted 21 lines · Bin Meng

Since commit b45ab9ca6621 ("CI: Update to QEMU 8.0.3"), the manual patch applying was removed, hence there is no need to do a git user name and email configuration.

---

 tools/docker/Dockerfile | 3 ---
 1 file changed, 3 deletions(-)
tools/docker/Dockerfile +0 -2
index c4a2596b48..c12ed0fd9b 100644
@@ -179,9 +179,6 @@ RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \
 RUN git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu && \
      cd /tmp/qemu && \
      git checkout v8.0.3 && \
-     # config user.name and user.email to make 'git am' happy
-     git config user.name u-boot && \
Quoted 8 lines

tools/docker/Dockerfile RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \ · line 184

Quoted 4 lines
tools/docker/Dockerfile +0 -1
-     git config user.email [email protected] && \
      ./configure --prefix=/opt/qemu --target-list="aarch64-softmmu,arm-softmmu,i386-softmmu,m68k-softmmu,mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu,ppc-softmmu,riscv32-softmmu,riscv64-softmmu,sh4-softmmu,x86_64-softmmu,xtensa-softmmu" && \
      make -j$(nproc) all install && \
      rm -rf /tmp/qemu

I'll apply this next time I update / respin the images but I hadn't dropped this part just to make the next time we do need to backport a patch easier.

I just found this comment, but it looks like the code is still there?

Regards,
Simon

#3 lore raw
Quoted 36 lines · Simon Glass

Hi Tom,

Quoted 24 lines · Tom Rini
Quoted 21 lines · Bin Meng

Since commit b45ab9ca6621 ("CI: Update to QEMU 8.0.3"), the manual patch applying was removed, hence there is no need to do a git user name and email configuration.

---

 tools/docker/Dockerfile | 3 ---
 1 file changed, 3 deletions(-)
tools/docker/Dockerfile +0 -2
index c4a2596b48..c12ed0fd9b 100644
@@ -179,9 +179,6 @@ RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \
 RUN git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu && \
      cd /tmp/qemu && \
      git checkout v8.0.3 && \
-     # config user.name and user.email to make 'git am' happy
-     git config user.name u-boot && \
Quoted 8 lines

tools/docker/Dockerfile RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \ · line 184

Quoted 4 lines
tools/docker/Dockerfile +0 -1
-     git config user.email [email protected] && \
      ./configure --prefix=/opt/qemu --target-list="aarch64-softmmu,arm-softmmu,i386-softmmu,m68k-softmmu,mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu,ppc-softmmu,riscv32-softmmu,riscv64-softmmu,sh4-softmmu,x86_64-softmmu,xtensa-softmmu" && \
      make -j$(nproc) all install && \
      rm -rf /tmp/qemu

I'll apply this next time I update / respin the images but I hadn't dropped this part just to make the next time we do need to backport a patch easier.

Quoted 1 line

I just found this comment, but it looks like the code is still there?

Yeah, I don't know quite what I was trying to say before, but, yes, I'm keeping the git config lines because it's more likely than not that we'll have backports to QEMU needed in the future and keeping that will make it easier.

Signature · 1 line
Tom