Changeset 497


Ignore:
Timestamp:
Nov 18, 2012, 1:17:53 AM (7 years ago)
Author:
amain
Message:

debian/rootfs/save: always create debwrt-rootfs-<version>.bz2

Location:
branches/contrib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/contrib/debian/rootfs/debian.mk

    r494 r497  
    4747               debian/rootfs/modules-install   \
    4848               debian/rootfs/post-setup        \
    49                debian/rootfs/second-stage-qemu
     49               debian/rootfs/second-stage-qemu \
     50               debian/rootfs/save
    5051        @echo "I: root filesystem $(DEBIAN_BUILD_VERSION) $(TARGET_ARCH) prepared in $(ROOTFS_BUILD_DIR)"
    5152        @echo "I: if the DebWrt kernel wasn't build, then no kernel modules have been installed, install them by:"
     
    7071
    7172debian/rootfs/save:
     73ifeq ($(DEBIAN_ROOTFS_QEMU_2ND_STAGE),y)
     74        sudo bash -c "tar cjf $(INSTALL_DIR)/$(ROOTFS_TAR_BZ2) -C $(ROOTFS_BUILD_DIR) ."
     75else
    7276        if [ -d /media/DEBWRT_ROOT ]; then \
    73                 sudo bash -c "tar cjf debwrt-rootfs-$(TARGET_ARCH)-$(VERSION).tar.bz2 -C /media/DEBWRT_ROOT ."; \
     77                sudo bash -c "tar cjf $(ROOTFS_TAR_BZ2) -C /media/DEBWRT_ROOT ."; \
    7478        fi
     79endif
    7580
    7681debian/rootfs/files-install: debian/rootfs/bootstrap
  • branches/contrib/rules/debwrt.mk

    r347 r497  
    8484HEADERS_TAR_GZ=debwrt-headers-${BOARD}-${SUB_BOARD}-${OPENWRT_LINUX_UNAME_VERSION}-$(DEBWRT_VERSION).tar.gz
    8585
     86# Image file containing DebWrt rootfs
     87ROOTFS_TAR_BZ2=debwrt-rootfs-${BOARD}-${SUB_BOARD}-${OPENWRT_LINUX_UNAME_VERSION}-$(DEBWRT_VERSION).tar.bz2
     88
    8689# Filename of DebWrt firmware image
    8790TARGET_IMAGE_NAME_BIN=debwrt-firmware-${BOARD}-${SUB_BOARD}-${OPENWRT_LINUX_UNAME_VERSION}-$(DEBWRT_VERSION).bin
Note: See TracChangeset for help on using the changeset viewer.