Skip to content
Snippets Groups Projects
Select Git revision
  • 472087a7b189f8972090eaf809e3055baf116440
  • v2018.2.x default
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
42 results

lsupgrade.sh

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    Makefile 966 B
    # Copyright (C) 2012 Nils Schneider <nils at nilsschneider.net>
    # This is free software, licensed under the Apache 2.0 license.
    
    include $(TOPDIR)/rules.mk
    
    PKG_NAME:=gluon-setup-mode
    PKG_VERSION:=1
    
    PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
    
    include ../gluon.mk
    
    
    define Package/gluon-setup-mode
      SECTION:=gluon
      CATEGORY:=Gluon
      TITLE:=Setup mode
      DEPENDS:=+gluon-core +uhttpd +dnsmasq
      PROVIDES:=gluon-setup-mode-virtual
    endef
    
    define Package/gluon-setup-mode/description
    	Offline mode to perform basic setup in a secure manner.
    endef
    
    define Build/Prepare
    	mkdir -p $(PKG_BUILD_DIR)
    endef
    
    define Build/Configure
    endef
    
    define Build/Compile
    	$(call GluonSrcDiet,./luasrc,$(PKG_BUILD_DIR)/luadest/)
    endef
    
    define Package/gluon-setup-mode/install
    	$(CP) ./files/* $(1)/
    	$(CP) $(PKG_BUILD_DIR)/luadest/* $(1)/
    endef
    
    define Package/gluon-setup-mode/postinst
    #!/bin/sh
    $(call GluonCheckSite,check_site.lua)
    endef
    
    $(eval $(call BuildPackage,gluon-setup-mode))