From 9e6c31470717abaecf29451e585ea752bc4984db Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 8 Feb 2011 14:20:41 +0000 Subject: [PATCH] Please stop the flame, and keep defines the way they used to compile official images git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1124 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/37a6e0e1207ee063bbc5e70f496a1e222c5af4d3 Author: [CST] Focus Date: 2011-02-08 (Tue, 08 Feb 2011) ------------------ This commit was generated by Migit --- configure.ac | 6 +++--- src/neutrino.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 0caf54f86..c896b6ac1 100644 --- a/configure.ac +++ b/configure.ac @@ -63,9 +63,9 @@ AC_ARG_ENABLE(restore-prev-mode, [ --enable-restore-prev-mode enable return from graphics mode], [AC_DEFINE(RETURN_FROM_GRAPHICS_MODE,1,[enable return from graphics mode])]) -AC_ARG_ENABLE(broken-neutrino-mount-hack, - [ --enable-broken-neutrino-mount-hack enable broken neutrino mount hack, don't use with mdev], - [AC_DEFINE(ASSUME_NO_MDEV,1,[enable broken neutrino mount hack, don't use with mdev])]) +AC_ARG_ENABLE(mdev, + [ --enable-mdev disable broken neutrino mount hack, use with mdev], + [AC_DEFINE(ASSUME_MDEV,1,[disable broken neutrino mount hack, use with mdev])]) # # Check for libtdservicedb - the new one - for testing only diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 1ac335484..a5abdbeed 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2302,7 +2302,7 @@ int CNeutrinoApp::run(int argc, char **argv) saveSetup(NEUTRINO_SETTINGS_FILE); } -#ifdef ASSUME_NO_MDEV +#ifndef ASSUME_MDEV system("mkdir /media/sda1 2> /dev/null"); system("mount /media/sda1 2> /dev/null"); system("mkdir /media/sdb1 2> /dev/null");