[PATCH] Don't hardcode product name on sparc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 bootdisk/sparc/boot.msg |    2 +-
 scripts/mk-images.sparc |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/bootdisk/sparc/boot.msg b/bootdisk/sparc/boot.msg
index b28310e..11ac7a1 100644
--- a/bootdisk/sparc/boot.msg
+++ b/bootdisk/sparc/boot.msg
@@ -1,5 +1,5 @@
 
-                   Welcome to Fedora SPARC Linux!
+                   Welcome to @PRODUCT@!
 
  -  To install or upgrade in graphical mode, press the <ENTER> key.
 
diff --git a/scripts/mk-images.sparc b/scripts/mk-images.sparc
index 9525f59..b91eedb 100644
--- a/scripts/mk-images.sparc
+++ b/scripts/mk-images.sparc
@@ -105,6 +105,7 @@ maketftp() {
 prepareBootTree() {
 	echo "sparc: prepareBootTree() is called"
 	(cd $BOOTDISKDIR; find . -maxdepth 1 ! -type d | cpio --quiet -p $MBD_BOOTTREE)
+	sed -i "s/@PRODUCT@/$PRODUCT/g" $MBD_BOOTTREE/boot.msg
 
 	cp $MBD_FSIMAGE $MBD_BOOTTREE/initrd.img
 	cp $KERNELROOT/boot/vmlinuz-* $MBD_BOOTTREE/vmlinuz
-- 
1.6.3.3

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux