[pok-devel] [22] Mute dd. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/pok-devel Archives
]
Revision: 22
Author: coredumper
Date: 2011-10-18 21:56:52 +0200 (Tue, 18 Oct 2011)
Log Message:
-----------
Mute dd.
Modified Paths:
--------------
trunk/misc/mk/rules-main.mk
Modified: trunk/misc/mk/rules-main.mk
===================================================================
--- trunk/misc/mk/rules-main.mk 2011-10-16 12:31:11 UTC (rev 21)
+++ trunk/misc/mk/rules-main.mk 2011-10-18 19:56:52 UTC (rev 22)
@@ -6,7 +6,7 @@
$(ECHO) $(ECHO_FLAGS) $(ECHO_FLAGS_ONELINE) "[BIN] partitions.bin"
# padding to get aligned file size (needed for SPARC)
for v in $(PARTITIONS); do \
- dd if=/dev/zero of=$$v oflag=append conv=notrunc bs=1 count=`echo "4 - (\`ls -l $$v | awk '{print $$5}'\` % 4)" | bc`;\
+ dd if=/dev/zero of=$$v oflag=append conv=notrunc bs=1 count=`echo "4 - (\`ls -l $$v | awk '{print $$5}'\` % 4)" | bc` > /dev/null 2> /dev/null;\
done
cat $(PARTITIONS) > partitions.bin
if test $$? -eq 0; then $(ECHO) $(ECHO_FLAGS) $(ECHO_GREEN) " OK "; else $(ECHO) $(ECHO_FLAGS) $(ECHO_RED) " KO"; fi