Changeset 3332
- Timestamp:
- 07/23/07 19:13:24 (1 year ago)
- Files:
-
- trunk/freewrt/package/fwupdate/Makefile (modified) (1 diff)
- trunk/freewrt/package/fwupdate/files/fs-tar.sh (modified) (1 diff)
- trunk/freewrt/scripts/instprep.sh (deleted)
- trunk/freewrt/target/image/brcm/Makefile (modified) (2 diffs)
- trunk/freewrt/target/image/rb/Makefile (modified) (5 diffs)
- trunk/freewrt/target/image/x86/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/freewrt/package/fwupdate/Makefile
r2572 r3332 8 8 9 9 PKG_NAME:= fwupdate 10 PKG_VERSION:= 1.010 PKG_VERSION:= 20070723 11 11 PKG_RELEASE:= 1 12 12 NO_DISTFILES:= 1 trunk/freewrt/package/fwupdate/files/fs-tar.sh
r2585 r3332 15 15 16 16 if mount -o bind / $t; then 17 tar xUzf $IMAGE_FILE $TAREXCL -C $t && \ 18 sh $t/instprep.sh || allfine=false 17 tar xUzf $IMAGE_FILE $TAREXCL -C $t || allfine=false 19 18 umount $t || allfine=false 20 19 fi trunk/freewrt/target/image/brcm/Makefile
r3331 r3332 11 11 12 12 ifeq ($(FS),nfs) 13 INSTPREPSCRIPT = instprep.sh14 13 NFS_DOC_URL = https://www.freewrt.org/trac/wiki/Documentation/Filesystems/NFS 15 16 instprep-script:17 install -m 0755 $(TOPDIR)/scripts/$(INSTPREPSCRIPT) $(KDIR)/root/18 $(SED) 's/@@TARGET_FS@@/$(FS)/' $(KDIR)/root/$(INSTPREPSCRIPT)19 14 20 15 kernel-install: 21 16 install -m 0755 $(KDIR)/vmlinux $(KDIR)/root/kernel 22 17 23 install-prepare_DEPS = instprep-scriptkernel-install18 install-prepare_DEPS+= kernel-install 24 19 25 20 install-prepare-md: … … 31 26 @echo 32 27 @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)," 33 @echo "you will find the matching kernel inside inside it's root, named \`kernel'"28 @echo "you will find the matching kernel inside inside it's root, named 'kernel'" 34 29 @echo 35 30 @echo "BEWARE: create a subdirectory and unpack inside, or you will be surprised!" 36 @echo 37 @echo "Due to the fact that the RootFS was created as non-root, it needs some" 38 @echo "preparation to be usable. Therefore all you need to do is execute the shell" 39 @echo "script called $(INSTPREPSCRIPT) as root." 31 @echo You must unpack as root due to permission issues. 40 32 @echo 41 33 @echo "A sample dhcpd.conf can be found inside $(TOPDIR)/docs/nfsroot." trunk/freewrt/target/image/rb/Makefile
r3331 r3332 10 10 KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD) 11 11 12 INSTPREPSCRIPT = instprep.sh13 12 NFS_DOC_URL = https://www.freewrt.org/trac/wiki/Documentation/Filesystems/NFS 14 13 CF_DOC_URL = https://www.freewrt.org/trac/wiki/Documentation/Filesystems/CompactFlash … … 16 15 KSIZE = $(shell du -b $(KDIR)/vmlinux | awk '{print $1}') 17 16 18 instprep-script:19 install -m 0755 $(TOPDIR)/scripts/$(INSTPREPSCRIPT) $(KDIR)/root/instprep.sh20 $(SED) 's/@@TARGET_FS@@/$(FS)/' $(KDIR)/root/instprep.sh21 22 17 kernel-install: 23 18 install -m 0755 $(BUILD_DIR)/linux/vmlinux $(KDIR)/root/kernel 24 19 25 ifeq ($(strip ${FWRT_TARGET_NOKERNEL})$(strip ${FWRT_TARGET_ROOTFS_INITRAMFS}),)26 install-prepare_DEPS+= instprep-script27 endif28 20 install-prepare_DEPS+= install-prepare 29 21 ifeq ($(strip ${FWRT_TARGET_NOKERNEL})$(strip ${FWRT_TARGET_ROOTFS_INITRAMFS}),) … … 40 32 @echo 41 33 @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)," 42 @echo "you will find the matching kernel inside inside it's root, named \`kernel'"34 @echo "you will find the matching kernel inside inside it's root, named 'kernel'" 43 35 @echo 44 36 @echo "BEWARE: create a subdirectory and unpack inside, or you will be surprised!" 45 @echo 46 @echo "Due to the fact that the RootFS was created as non-root, it needs some" 47 @echo "preparation to be usable. Therefore all you need to do is execute the shell" 48 @echo "script called $(INSTPREPSCRIPT) as root." 37 @echo You must unpack as root due to permission issues. 49 38 @echo 50 39 @echo "A sample dhcpd.conf can be found inside $(TOPDIR)/docs/nfsroot." … … 59 48 @echo 60 49 @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)," 61 @echo "you will find the matching kernel inside inside it's root, named \`kernel'"50 @echo "you will find the matching kernel inside inside it's root, named 'kernel'" 62 51 @echo 63 52 @echo "BEWARE: create a subdirectory and unpack inside, or you will be surprised!" 64 @echo 65 @echo "Due to the fact that the RootFS was created as non-root, it needs some" 66 @echo "preparation to be usable. Therefore all you need to do is execute the shell" 67 @echo "script called $(INSTPREPSCRIPT) as root." 53 @echo You must unpack as root due to permission issues. 68 54 @echo 69 55 @echo "To install everything to CompactFlash, create two partitions on it." 70 56 @echo "First with type 0x27, second with type 0x83. Unpack the rootfs-tarball into" 71 @echo "partition 2, then use \`dd' to write the kernel into the (raw) first partition."57 @echo "partition 2, then use 'dd' to write the kernel into the (raw) first partition." 72 58 @echo "For more info check $(CF_DOC_URL)" 73 59 endif … … 77 63 @echo 78 64 @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)," 79 @echo "you will find the matching kernel inside inside it's root, named \`kernel'"65 @echo "you will find the matching kernel inside inside it's root, named 'kernel'" 80 66 @echo 81 67 @echo "BEWARE: create a subdirectory and unpack inside, or you will be surprised!" 82 @echo 83 @echo "Due to the fact that the RootFS was created as non-root, it needs some" 84 @echo "preparation to be usable. Therefore all you need to do is execute the shell" 85 @echo "script called $(INSTPREPSCRIPT) as root." 68 @echo You must unpack as root due to permission issues. 86 69 @echo 87 70 @echo "To install everything to Flash, copy the tarball into the RootFS of an" 88 71 @echo "already installed CompactFlash disk or RootFS for use with nfsroot." 89 72 @echo "After booting the target system, mount the second Flash partition, and" 90 @echo "extract the RootFS tarball into it. Then execude $(INSTPREPSCRIPT), which"91 @echo " will also copy over the kernel for you."73 @echo "extract the RootFS tarball into it. Then mount the first Flash partition" 74 @echo "and copy over the kernel." 92 75 endif 93 76 trunk/freewrt/target/image/x86/Makefile
r3331 r3332 10 10 KDIR:=$(BUILD_DIR)/linux-$(KERNEL)-$(BOARD) 11 11 12 INSTPREPSCRIPT = instprep.sh13 12 CF_DOC_URL = https://www.freewrt.org/trac/wiki/Documentation/Filesystems/CompactFlash 14 13 15 14 KSIZE = $(shell du -b $(KDIR)/vmlinux | awk '{print $1}') 16 17 instprep-script:18 install -m 0755 $(TOPDIR)/scripts/$(INSTPREPSCRIPT) $(KDIR)/root/instprep.sh19 $(SED) 's/@@TARGET_FS@@/$(FS)/' $(KDIR)/root/instprep.sh20 15 21 16 kernel-install: … … 33 28 @echo 34 29 @echo "The RootFS tarball is: $(BIN_DIR)/$(ROOTFSTARBALL)," 35 @echo "you will find the matching kernel inside inside it's root, named \`kernel'"30 @echo "you will find the matching kernel inside inside it's root, named 'kernel'" 36 31 @echo 37 32 @echo "BEWARE: create a subdirectory and unpack inside, or you will be surprised!" 38 @echo 39 @echo "Due to the fact that the RootFS was created as non-root, it needs some" 40 @echo "preparation to be usable. Therefore all you need to do is execute the shell" 41 @echo "script called $(INSTPREPSCRIPT) as root." 33 @echo You must unpack as root due to permission issues. 42 34 @echo 43 35 @echo "To install everything to CompactFlash, create a partition on it."


