Changeset 3c3c38d in freewrt


Ignore:
Timestamp:
Mar 24, 2007, 3:24:42 PM (19 years ago)
Author:
Waldemar Brodkorb <wbx@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
89869ca
Parents:
aa6d24d
Message:

embed adk .config into image, useful for security updates, copy over your config, rebuild an image, flash the new image just th the security/bug fixes added, idea from tha/sum

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@2248 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • package/Config.in

    raa6d24d r3c3c38d  
    355355menu "Extra stuff"
    356356
     357config FWRT_PACKAGE_CONFIG_IN_ETC
     358        bool ".config in /etc - include gzipped version of .config in image"
     359        default y
     360        help
     361          Copy the configuration file (.config) of FreeWRT to the image.  The
     362          file will be found in /etc/freewrt.config.gz. This takes about
     363          7kBytes of file system space. From this file you can always rebuild
     364          the image from source.
     365
    357366config FWRT_PREFIX
    358367        string "Set a prefix for firmware image file"
  • package/base-files/Makefile

    raa6d24d r3c3c38d  
    1010PKG_NAME:=              base-files
    1111PKG_VERSION:=           1.0
    12 PKG_RELEASE:=           16
     12PKG_RELEASE:=           17
    1313WRKSRC=                 ${WRKDIR}/base-files
    1414
     
    127127        -find $(IDIR_BASE) -type d -name .svn | xargs rm -rf
    128128        -find $(IDIR_BASE) -name '.#*' | xargs rm -f
     129ifneq (${FWRT_PACKAGE_CONFIG_IN_ETC},)
     130        gzip -9c ${TOPDIR}/.config > $(IDIR_BASE)/etc/freewrt.config.gz
     131endif
    129132        $(IPKG_BUILD) $(IDIR_BASE) $(PACKAGE_DIR)
    130133
Note: See TracChangeset for help on using the changeset viewer.