commit:     7033442cf50d7d11740ab3c3e1c93c46e186adfb
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 14 10:40:59 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Jul 14 11:58:18 2019 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=7033442c

gen_initramfs.sh: Remove dead code

Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 gen_initramfs.sh | 34 ----------------------------------
 1 file changed, 34 deletions(-)

diff --git a/gen_initramfs.sh b/gen_initramfs.sh
index 2b00d5e..acb5c65 100755
--- a/gen_initramfs.sh
+++ b/gen_initramfs.sh
@@ -404,20 +404,6 @@ append_blkid() {
                || gen_die "Failed to append blkid to cpio!"
 }
 
-#append_fuse() {
-#      if [ -d "${TEMP}/initramfs-fuse-temp" ]
-#      then
-#              rm -r "${TEMP}/initramfs-fuse-temp"
-#      fi
-#      cd ${TEMP}
-#      mkdir -p "${TEMP}/initramfs-fuse-temp/lib/"
-#      tar -C "${TEMP}/initramfs-fuse-temp/lib/" -xf "${FUSE_BINCACHE}"
-#      cd "${TEMP}/initramfs-fuse-temp/"
-#      find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
-#                      || gen_die "compressing fuse cpio"
-#      rm -rf "${TEMP}/initramfs-fuse-temp" > /dev/null
-#}
-
 append_unionfs_fuse() {
        local PN=unionfs-fuse
        local TDIR="${TEMP}/initramfs-${PN}-temp"
@@ -438,26 +424,6 @@ append_unionfs_fuse() {
                || gen_die "Failed to append ${PN} to cpio!"
 }
 
-#append_suspend(){
-#      if [ -d "${TEMP}/initramfs-suspend-temp" ];
-#      then
-#              rm -r "${TEMP}/initramfs-suspend-temp/"
-#      fi
-#      print_info 1 "$(getIndent 2)SUSPEND: Adding support (compiling 
binaries)..."
-#      compile_suspend
-#      mkdir -p "${TEMP}/initramfs-suspend-temp/"
-#      /bin/tar -xpf "${SUSPEND_BINCACHE}" -C "${TEMP}/initramfs-suspend-temp" 
||
-#              gen_die "Could not extract suspend binary cache!"
-#      mkdir -p "${TEMP}/initramfs-suspend-temp/etc"
-#      cp -f /etc/suspend.conf "${TEMP}/initramfs-suspend-temp/etc" ||
-#              gen_die 'Could not copy /etc/suspend.conf'
-#      cd "${TEMP}/initramfs-suspend-temp/"
-#      log_future_cpio_content
-#      find . -print | cpio ${CPIO_ARGS} --append -F "${CPIO}" \
-#                      || gen_die "compressing suspend cpio"
-#      rm -r "${TEMP}/initramfs-suspend-temp/"
-#}
-
 append_multipath() {
        local PN=multipath-tools
        local TDIR="${TEMP}/initramfs-${PN}-temp"

Reply via email to