Skip to contentSkip to conversation

tools/firmware: Rename bios.bin to seabios.bin

PATCH In review Andrew Cooper 3 participants 6 messages Aug 19, 2016 – Sep 5, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/firmware: Rename bios.bin to seabios.bin

bios.bin as a name is far too generic. Rename it to seabios.bin.

---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Anthony PERARD <[email protected]>

Please rerun autogen.sh

---
 tools/configure         | 2 +-
 tools/configure.ac      | 2 +-
 tools/firmware/Makefile | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
tools/configure +1 -1
index 81ccf34..dd82f67 100755
@@ -4451,7 +4451,7 @@ fi
 
 
 cat >>confdefs.h <<_ACEOF
-#define SEABIOS_PATH "${seabios_path:-$XENFIRMWAREDIR/bios.bin}"
+#define SEABIOS_PATH "${seabios_path:-$XENFIRMWAREDIR/seabios.bin}"
 _ACEOF
 
 
tools/configure.ac +1 -1
index c12ad79..06a6202 100644
@@ -223,7 +223,7 @@ AC_ARG_WITH([system-seabios],
     esac
 ],[])
 AC_DEFINE_UNQUOTED([SEABIOS_PATH],
-                   ["${seabios_path:-$XENFIRMWAREDIR/bios.bin}"],
+                   ["${seabios_path:-$XENFIRMWAREDIR/seabios.bin}"],
                    [SeaBIOS path])
 
 AC_ARG_WITH([system-ovmf],
tools/firmware/Makefile +1 -1
index cf09ad2..b840c6a 100644
@@ -42,7 +42,7 @@ install: all
 	[ -d $(INST_DIR) ] || $(INSTALL_DIR) $(INST_DIR)
 	[ ! -e $(TARGET) ] || $(INSTALL_DATA) $(TARGET) $(INST_DIR)
 ifeq ($(CONFIG_SEABIOS),y)
-	$(INSTALL_DATA) seabios-dir/out/bios.bin $(INST_DIR)/bios.bin
+	$(INSTALL_DATA) seabios-dir/out/bios.bin $(INST_DIR)/seabios.bin
 endif
 ifeq ($(CONFIG_OVMF),y)
 	$(INSTALL_DATA) ovmf-dir/ovmf.bin $(INST_DIR)/ovmf.bin
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#2 lore raw
Quoted 10 lines · Wei Liu
Quoted 3 lines · Andrew Cooper

bios.bin as a name is far too generic. Rename it to seabios.bin.

Hmm... I remember the first few versions of that series had it named seabios.bin and I acked that.

Anyway, I think I will give Anthony a chance to clarify why he changed the name.

I've changed it because someone ask for it:
https://lists.xenproject.org/archives/html/xen-devel/2016-03/msg02371.html

It was to match how seabios is installed by default.

Signature · 6 lines
Anthony PERARD

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#3 lore raw
Quoted 4 lines · Anthony PERARD
Quoted 3 lines · Wei Liu
Quoted 2 lines · Andrew Cooper

bios.bin as a name is far too generic. Rename it to seabios.bin.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Hmm... I remember the first few versions of that series had it named seabios.bin and I acked that.

Anyway, I think I will give Anthony a chance to clarify why he changed the name.

I've changed it because someone ask for it:
https://lists.xenproject.org/archives/html/xen-devel/2016-03/msg02371.html

It was admittedly lacking a question mark, but that was a question not a statement.

The answer is "because there are a load of other bios binaries stored in the same directory".

Quoted 1 line

It was to match how seabios is installed by default.

This is not relevant. The version of seabios built by Xen should fit into the Xen expectations. If this means renaming it to make it clear which bios it it, then so be it.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

Acked-by
#4 lore raw
Quoted 17 lines · Andrew Cooper
Quoted 4 lines · Anthony PERARD
Quoted 3 lines · Wei Liu
Quoted 2 lines · Andrew Cooper

bios.bin as a name is far too generic. Rename it to seabios.bin.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Hmm... I remember the first few versions of that series had it named seabios.bin and I acked that.

Anyway, I think I will give Anthony a chance to clarify why he changed the name.

I've changed it because someone ask for it:
https://lists.xenproject.org/archives/html/xen-devel/2016-03/msg02371.html

It was admittedly lacking a question mark, but that was a question not a statement.

Quoted 8 lines

The answer is "because there are a load of other bios binaries stored in the same directory".

Quoted 1 line

It was to match how seabios is installed by default.

This is not relevant. The version of seabios built by Xen should fit into the Xen expectations. If this means renaming it to make it clear which bios it it, then so be it.

I think renaming it to seabios.bin is better.

Wei.

Quoted 2 lines

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#5 lore raw
Quoted 23 lines · Wei Liu
Quoted 22 lines · Andrew Cooper
Quoted 4 lines · Anthony PERARD
Quoted 3 lines · Wei Liu
Quoted 2 lines · Andrew Cooper

bios.bin as a name is far too generic. Rename it to seabios.bin.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Hmm... I remember the first few versions of that series had it named seabios.bin and I acked that.

Anyway, I think I will give Anthony a chance to clarify why he changed the name.

I've changed it because someone ask for it:
https://lists.xenproject.org/archives/html/xen-devel/2016-03/msg02371.html

It was admittedly lacking a question mark, but that was a question not a statement.

The answer is "because there are a load of other bios binaries stored in the same directory".

Quoted 1 line

It was to match how seabios is installed by default.

Quoted 8 lines
Quoted 3 lines

This is not relevant. The version of seabios built by Xen should fit into the Xen expectations. If this means renaming it to make it clear which bios it it, then so be it.

I think renaming it to seabios.bin is better.

Fixed up conflict and pushed.

Wei.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel