Browse Source

Changed target/share/initramfs/build.sh to build the cpio using find . instead of find *

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
b13e8172fc
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      target/share/initramfs/build.sh

+ 4
- 4
target/share/initramfs/build.sh

@ -1,11 +1,11 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
#
# Filename: target/share/initramfs/build.sh
# Copyright (C) 2007 - 2008 The OpenSDE Project
#
#
# More information can be found in the files COPYING and README.
#
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
@ -96,7 +96,7 @@ done
echo_status "Expanded size: $( du -sh "$rootfs" | cut -f1)."
echo_status "Creating ${rootfs#$base/}.img ..."
( cd "$rootfs"; find * | cpio -o -H newc ) |
( cd "$rootfs"; find . | cpio -o -H newc ) |
gzip -c -9 > "$rootfs.img"
echo_status "Image size: $( du -sh "$rootfs.img" | cut -f1)."

Loading…
Cancel
Save