Browse Source

Generation of Version tag

Conflicts:
	Makefile (trunk-image link)
tags/Auto_BB_v0.1
Matthias Strubel 7 years ago
parent
commit
7b94bf5b44
3 changed files with 8 additions and 3 deletions
  1. +1
    -0
      .gitignore
  2. +7
    -2
      Makefile
  3. +0
    -1
      files/etc/pbx_custom_image

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
files/etc/pbx_custom_image

+ 7
- 2
Makefile View File

@@ -14,11 +14,15 @@ GENERAL_PACKAGES="pbxopkg kmod-usb2 kmod-usb-storage kmod-fs-vfat kmod-nls-cp437
$(DL_FILE):
$(WGET) -c -O $(DL_FILE) $(IMAGEBUILDER_URL)

$(IB_FOLDER): $(DL_FILE)
$(IB_FOLDER): $(DL_FILE) $(VERSION_FILE)
tar -xvjf $(DL_FILE)
echo "src/gz piratebox http://stable.openwrt.piratebox.de/all/packages" >> $(IB_FOLDER)/repositories.conf

imagebuilder: $(IB_FOLDER)
$(VERSION_FILE):
mkdir -p files/etc
echo $(VERSION_TAG) > $@

imagebuilder: $(IB_FOLDER)


%.bin:
@@ -44,6 +48,7 @@ MR3040: TLMR3040 openwrt-ar71xx-generic-tl-mr3040-v1-squashfs-factory.bin
WR703N: TLWR703 openwrt-ar71xx-generic-tl-wr703n-v1-squashfs-factory.bin

clean:
-rm $(VERSION_FILE)
-rm -r $(IB_FOLDER)
-rm $(DL_FILE)
-rm openwrt-ar71xx-generic*

+ 0
- 1
files/etc/pbx_custom_image View File

@@ -1 +0,0 @@
2.0

Loading…
Cancel
Save