Changeset 31696


Ignore:
Timestamp:
Mar 17, 2017, 9:06:44 PM (6 weeks ago)
Author:
brainslayer
Message:

padding is required as it seems

Location:
src/router
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/router/Makefile.x64

    r31694 r31696  
    556556        make -C grub install DESTDIR=$(INSTALLDIR)/grub
    557557        $(TOP)/../../tools/removewhitespace.sh $(TOP)/../../tools $(TARGETDIR)/etc/config
    558         $(LINUXDIR)/scripts/squashfs/mksquashfs4 $(ARCH)-uclibc/target $(ARCH)-uclibc/root.fs -comp xz -nopad  -root-owned -noappend -Xbcj x86
     558        $(LINUXDIR)/scripts/squashfs/mksquashfs4 $(ARCH)-uclibc/target $(ARCH)-uclibc/root.fs -comp xz -root-owned -noappend -Xbcj x86
    559559#       $(LINUXDIR)/scripts/squashfs/mksquashfs-lzma $(ARCH)-uclibc/target $(ARCH)-uclibc/root.fs -noappend -root-owned -le -b 262144 -nopad
    560560        mkfs.jffs2 --pad --big-endian --squash -e 0x20000 -o $(ARCH)-uclibc/dd-wrt.jffs2 -d $(ARCH)-uclibc/target
     
    568568        cp $(LINUXDIR)/arch/x86_64/boot/bzImage $(ARCH)-uclibc/root.grub/boot/vmlinuz
    569569
    570         -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_serial.image 4 $(ARCH)-uclibc/root.grub 128 $(ARCH)-uclibc/root.fs 32
     570        -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_serial.image 4 $(ARCH)-uclibc/root.grub 64 $(ARCH)-uclibc/root.fs 32
    571571        cp grub/menu_vga.lst $(ARCH)-uclibc/root.grub/boot/grub/menu.lst
    572         -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_vga.image 4 $(ARCH)-uclibc/root.grub 128 $(ARCH)-uclibc/root.fs 32
     572        -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_vga.image 4 $(ARCH)-uclibc/root.grub 64 $(ARCH)-uclibc/root.fs 32
    573573        ./tools/wrap $(ARCH)-uclibc/dd-wrt_vga.image $(ARCH)-uclibc/dd-wrt-vga-webupgrade.bin
    574574        ./tools/wrap $(ARCH)-uclibc/dd-wrt_serial.image $(ARCH)-uclibc/dd-wrt-serial-webupgrade.bin
  • src/router/Makefile.x86

    r31694 r31696  
    560560        make -C grub install DESTDIR=$(INSTALLDIR)/grub
    561561        $(TOP)/../../tools/removewhitespace.sh $(TOP)/../../tools $(TARGETDIR)/etc/config
    562         $(LINUXDIR)/scripts/squashfs/mksquashfs4 $(ARCH)-uclibc/target $(ARCH)-uclibc/root.fs -comp xz -nopad  -root-owned -noappend -Xbcj x86
    563         #$(LINUXDIR)/scripts/squashfs/mksquashfs-lzma $(ARCH)-uclibc/target $(ARCH)-uclibc/root.fs -noappend -le
     562        $(LINUXDIR)/scripts/squashfs/mksquashfs4 $(ARCH)-uclibc/target $(ARCH)-uclibc/root.fs -comp xz -root-owned -noappend -Xbcj x86
     563# $(LINUXDIR)/scripts/squashfs/mksquashfs-lzma $(ARCH)-uclibc/target $(ARCH)-uclibc/root.fs -noappend -le
    564564#       $(LINUXDIR)/scripts/squashfs/mksquashfs-lzma $(ARCH)-uclibc/target $(ARCH)-uclibc/root.fs -noappend -root-owned -le -b 262144 -nopad
    565565        mkfs.jffs2 --pad --big-endian --squash -e 0x20000 -o $(ARCH)-uclibc/dd-wrt.jffs2 -d $(ARCH)-uclibc/target
     
    574574
    575575ifeq ($(CONFIG_FULL),y)
    576         -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_serial.image 4 $(ARCH)-uclibc/root.grub 128 $(ARCH)-uclibc/root.fs 32
     576        -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_serial.image 4 $(ARCH)-uclibc/root.grub 64 $(ARCH)-uclibc/root.fs 32
    577577        cp grub/menu_vga.lst $(ARCH)-uclibc/root.grub/boot/grub/menu.lst
    578         -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_vga.image 4 $(ARCH)-uclibc/root.grub 128 $(ARCH)-uclibc/root.fs 32
     578        -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_vga.image 4 $(ARCH)-uclibc/root.grub 64 $(ARCH)-uclibc/root.fs 32
    579579else
    580         -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_serial.image 4 $(ARCH)-uclibc/root.grub 128 $(ARCH)-uclibc/root.fs 16
     580        -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_serial.image 4 $(ARCH)-uclibc/root.grub 64 $(ARCH)-uclibc/root.fs 16
    581581        cp grub/menu_vga.lst $(ARCH)-uclibc/root.grub/boot/grub/menu.lst
    582         -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_vga.image 4 $(ARCH)-uclibc/root.grub 128 $(ARCH)-uclibc/root.fs 16
     582        -PATH="$(INSTALLDIR)/grub/usr/local/sbin:$(INSTALLDIR)/grub/usr/local/bin:$(PATH)" ./gen_image.sh $(ARCH)-uclibc/dd-wrt_vga.image 4 $(ARCH)-uclibc/root.grub 64 $(ARCH)-uclibc/root.fs 16
    583583endif
    584584        ./tools/wrap $(ARCH)-uclibc/dd-wrt_vga.image $(ARCH)-uclibc/dd-wrt-vga-webupgrade.bin
Note: See TracChangeset for help on using the changeset viewer.