]> xenbits.xensource.com Git - people/aperard/xen-unstable.git/commitdiff
rombios: Remove the use of egrep
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 18 Aug 2023 10:05:00 +0000 (11:05 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 22 Aug 2023 12:43:05 +0000 (13:43 +0100)
As the Alpine 3.18 container notes:

  egrep: warning: egrep is obsolescent; using grep -E

Adjust it.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
(cherry picked from commit 5ddac3c2852ecc120acab86fc403153a2097c5dc)

tools/firmware/rombios/32bit/Makefile

index c058c715514c206fb8e32f5d412dbffb9178ecbb..50d45647c23dc8ebf57dc47875adf6c0c5612884 100644 (file)
@@ -26,7 +26,7 @@ $(TARGET): 32bitbios_all.o
 32bitbios_all.o: 32bitbios.o tcgbios/tcgbiosext.o util.o pmm.o
        $(LD) $(LDFLAGS_DIRECT) -s -r $^ -o 32bitbios_all.o
        @nm 32bitbios_all.o |                                \
-         egrep '^ +U ' >/dev/null && {                      \
+         grep -E '^ +U ' >/dev/null && {                    \
            echo "There are undefined symbols in the BIOS:"; \
            nm -u 32bitbios_all.o;                           \
            exit 11;                                         \