Przeglądaj źródła

Restored errors null-redirection in "gen-kernel prepare"

Maxim Kammerer 12 lat temu
rodzic
commit
75df5509c5
2 zmienionych plików z 3 dodań i 2 usunięć
  1. 2 2
      src/root/helpers/gen-kernel
  2. 1 0
      src/root/setup

+ 2 - 2
src/root/helpers/gen-kernel

@@ -64,7 +64,7 @@ fi
 # Handle kernel preparation for building external modules
 if [ "${cmd}" = prepare ]; then
     # sudo might not be available at this stage
-    su - -s /bin/sh bin -c "${rmake} O=${mainobj} modules_prepare"
+    su - -s /bin/sh bin -c "${rmake} O=${mainobj} modules_prepare" 2>/dev/null
     exit
 elif [ "${cmd}" = modules ]; then
     # vmlinux is necessary for System.map (although initramfs may not exist yet,
@@ -82,7 +82,7 @@ elif [ "${cmd}" = modules ]; then
     rm ${mainmod}/{build,source}
     chmod go= ${mainmod}
 
-    # Sign out-of-tree modules
+    # Sign out-of-tree modules (#447352)
     find ${mainmod} -mindepth 2 ! -path "${mainmod}/kernel/*" -type f -name '*.ko' | \
     while read mod; do
         if ! grep -q '~Module signature appended~' "${mod}"; then

+ 1 - 0
src/root/setup

@@ -468,6 +468,7 @@ find /etc/dconf/db -maxdepth 1 -type f -delete
 dconf update
 
 
+# Should be moved before emerge @world once (#447352) is sorted out
 sinfo "Generating Secure Boot test certificates"
 ${helpdir}/gen-sb-cert test