* [kbd] [PATCH] Install fails due to attempt to apply "install -s" to a shell script
@ 2008-02-21 14:36 Marty Jack
2008-02-21 15:07 ` Alexey Gladkov
0 siblings, 1 reply; 2+ messages in thread
From: Marty Jack @ 2008-02-21 14:36 UTC (permalink / raw)
To: kbd
In 1.14 and 1.14.1wip, install fails with the following error:
install -s -m 0755 dumpkeys loadkeys showkey setfont showconsolefont setleds setmetamode kbd_mode chvt deallocvt psfxtable kbdrate fgconsole openvt mapscrn loadunimap unicode_start unicode_stop /usr/bin
strip: /usr/bin/unicode_start: File format not recognized
install: strip process terminated abnormally
The coreutils that is supplying install is version 6.10. It is unknown to me whether other versions also fail.
The following patch corrects the problem.
diff -Naur kbd-1.14.1wip.orig/src/Makefile.in kbd-1.14.1wip/src/Makefile.in
--- kbd-1.14.1wip.orig/src/Makefile.in 2008-02-06 19:10:09.000000000 -0500
+++ kbd-1.14.1wip/src/Makefile.in 2008-02-21 08:56:33.000000000 -0500
@@ -50,7 +50,8 @@
install: all
install -d -m 0755 $(bindir)
- install -s -m 0755 $(PROGS) $(OLDPROGS) $(SHCMDS) $(bindir)
+ install -s -m 0755 $(PROGS) $(OLDPROGS) $(bindir)
+ install -m 0755 $(SHCMDS) $(bindir)
for i in psfaddtable psfgettable psfstriptable; do \
rm -f $(bindir)/$$i; ln -s psfxtable $(bindir)/$$i; \
done
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [kbd] [PATCH] Install fails due to attempt to apply "install -s" to a shell script
2008-02-21 14:36 [kbd] [PATCH] Install fails due to attempt to apply "install -s" to a shell script Marty Jack
@ 2008-02-21 15:07 ` Alexey Gladkov
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Gladkov @ 2008-02-21 15:07 UTC (permalink / raw)
To: Linux console tools development discussion
Marty Jack wrote:
> The coreutils that is supplying install is version 6.10. It is
> unknown to me whether other versions also fail.
>
> The following patch corrects the problem.
Applied, thanks.
--
Rgrds, legion
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-21 15:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 14:36 [kbd] [PATCH] Install fails due to attempt to apply "install -s" to a shell script Marty Jack
2008-02-21 15:07 ` Alexey Gladkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox