Skip to content
Snippets Groups Projects
  1. Dec 03, 2015
  2. Nov 30, 2015
  3. Nov 26, 2015
  4. Nov 25, 2015
  5. Nov 24, 2015
  6. Nov 15, 2015
  7. Oct 19, 2015
  8. Oct 07, 2015
  9. Oct 05, 2015
  10. Oct 02, 2015
  11. Sep 21, 2015
  12. Sep 16, 2015
    • Jo-Philipp Wich's avatar
      base-files: refactor default_postinst() · 33b35943
      Jo-Philipp Wich authored
      
       - Simplify user spec parsing code
       - Alias IPKG_INSTROOT to shorten code
       - Quote variables where appropriate
       - Remove a useless-use-of-cat instance
       - Suppress errors in case control or list files are missing
      
      Signed-off-by: default avatarJo-Philipp Wich <jow@openwrt.org>
      
      SVN-Revision: 46975
      33b35943
    • John Crispin's avatar
      base-files: add /etc/profile.d support · ef2f5082
      John Crispin authored
      
      OpenWrt should support an optional /etc/profile.d directory like
      most other Linux distributions. This allows packages to install
      their own scripts into /etc/profile.d/ directory.
      
      The file suffix should make clear, that these scripts
      are (sourced) shell-snippets. If the user needs e.g. php or lua,
      one must make sure that the interpreter is called.
      The reverse failsafe test makes sure, that the effective returncode is 0.
      
      A typcal usecase is the inclusion of private helpers,
      special variables or aliases, which at the moment needs
      patching the sourcecode and is not well maintainable.
      Now the builder can simply add there files.
      
      v1 initial work of Hendrik Lüth <hendrik@linux-nerds.de>
      v2 changes regarding RFC (e.g. thomas.langer@lantiq.com)
      v3 changes regarding RFC (e.g. mschiffer@universe-factory.net)
      v4 keep it simple and mimic OpenWrt style
      
      Signed-off-by: default avatarBastian Bittorf <bittorf@bluebottle.com>
      
      SVN-Revision: 46965
      ef2f5082
  13. Sep 14, 2015
    • John Crispin's avatar
      base-files: sysupgrade: quote source image name · 4ef319fa
      John Crispin authored
      
      get_image() eval a filename without quoting it, resulting in errors with
      filenames containing characters that need to be escaped.
          $ sysupgrade -T -f ./cfg\(12\).tar.gz img.bin; echo $?
          Image check 'platform_check_image' failed.
          Invalid config file. Please use only .tar.gz files
          1
          $ mv cfg\(12\).tar.gz cfg_12.tar.gz
          $ mv img\(1\).bin img.bin
          sysupgrade -T -f ./cfg_12.tar.gz img.bin; echo $?
          0
      
      Enclose the content of $from in double quotes.
      
      Signed-off-by: default avatarAdrien Schildknecht <adrien+dev@schischi.me>
      
      SVN-Revision: 46919
      4ef319fa
  14. Sep 12, 2015
  15. Sep 11, 2015
Loading