Skip to content

Commit

Permalink
fix E2 multiboot detection
Browse files Browse the repository at this point in the history
  • Loading branch information
TangoCash committed Nov 15, 2019
1 parent 03e4eaa commit 9d04c5c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion make/bootstrap.mk
Expand Up @@ -338,7 +338,7 @@ $(D)/directories:
install -d $(TARGET_DIR)/usr/include/linux
install -d $(TARGET_DIR)/usr/include/linux/dvb
install -d $(TARGET_DIR)/var/{etc,lib,run}
install -d $(TARGET_DIR)/var/lib/{misc,nfs}
install -d $(TARGET_DIR)/var/lib/{misc,nfs,opkg}
install -d $(TARGET_DIR)/var/bin
$(TOUCH)

Expand Down
4 changes: 2 additions & 2 deletions make/neutrino-release.mk
Expand Up @@ -427,7 +427,7 @@ neutrino-mp-release-base:
install -d $(RELEASE_DIR)/usr/share/tuxbox/neutrino/icons/logo
install -d $(RELEASE_DIR)/usr/share/lua/5.2
install -d $(RELEASE_DIR)/var/{bin,boot,emu,etc,epg,httpd,keys,lib,logos,net,tuxbox,update}
install -d $(RELEASE_DIR)/var/lib/{nfs,modules}
install -d $(RELEASE_DIR)/var/lib/{nfs,modules,opkg}
install -d $(RELEASE_DIR)/var/net/epg
install -d $(RELEASE_DIR)/var/tuxbox/{config,fonts,locale,plugins,themes}
install -d $(RELEASE_DIR)/var/tuxbox/webtv
Expand Down Expand Up @@ -828,7 +828,7 @@ $(D)/neutrino-mp-release: neutrino-mp-release-base neutrino-mp-release-$(BOXTYPE
#
cp -dpfr $(RELEASE_DIR)/etc $(RELEASE_DIR)/var
rm -fr $(RELEASE_DIR)/etc
ln -sf /var/etc $(RELEASE_DIR)
ln -sf var/etc $(RELEASE_DIR)/etc
#
ln -s /tmp $(RELEASE_DIR)/lib/init
ln -s /tmp $(RELEASE_DIR)/var/lib/urandom
Expand Down
9 changes: 9 additions & 0 deletions make/neutrino.mk
Expand Up @@ -10,6 +10,14 @@ $(TARGET_DIR)/.version:
echo "version=0200`date +%Y%m%d%H%M`" >> $@
echo "git=`git log | grep "^commit" | wc -l`" >> $@

# -----------------------------------------------------------------------------
e2-multiboot:
touch $(TARGET_DIR)/usr/bin/enigma2
echo -e "$(FLAVOUR) `sed -n 's/\#define PACKAGE_VERSION "//p' $(N_OBJDIR)/config.h | sed 's/"//'` \\\n \\\l\n" > $(TARGET_DIR)/etc/issue
touch $(TARGET_DIR)/var/lib/opkg/status
cp -a $(TARGET_DIR)/.version $(TARGET_DIR)/etc/image-version
# -----------------------------------------------------------------------------

AUDIODEC = ffmpeg

NEUTRINO_DEPS = $(D)/bootstrap $(KERNEL) $(D)/system-tools
Expand Down Expand Up @@ -305,6 +313,7 @@ neutrino-mp: $(D)/neutrino-mp.do_prepare $(D)/neutrino-mp.config.status $(D)/neu
PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) \
$(MAKE) -C $(N_OBJDIR) install DESTDIR=$(TARGET_DIR)
make $(TARGET_DIR)/.version
make e2-multiboot
touch $(D)/$(notdir $@)
make neutrino-mp-release
$(TUXBOX_CUSTOMIZE)
Expand Down

0 comments on commit 9d04c5c

Please sign in to comment.