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

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

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.