Author: hbelusca
Date: Thu Jan 29 00:20:56 2015
New Revision: 66109
URL:
http://svn.reactos.org/svn/reactos?rev=66109&view=rev
Log:
[LIVE|HYBRIDCD]: We also need an empty "Default User/Start Menu/Programs"
directory.
Modified:
trunk/reactos/boot/CMakeLists.txt
Modified: trunk/reactos/boot/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/CMakeLists.txt?rev=66…
==============================================================================
--- trunk/reactos/boot/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/boot/CMakeLists.txt [iso-8859-1] Thu Jan 29 00:20:56 2015
@@ -17,8 +17,12 @@
VERBATIM)
##livecd
-#clear it out and create the empty Desktop folder
-file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/Default
User/Desktop\n")
+#clear it out
+file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "")
+
+#create the empty Desktop and Start Menu folders
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/Default
User/Desktop\n")
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.lst "Profiles/Default User/Start
Menu/Programs\n")
add_custom_target(livecd
COMMAND native-cdmake -j -m -b
${CMAKE_CURRENT_BINARY_DIR}/freeldr/bootsect/isoboot.bin
@${CMAKE_CURRENT_BINARY_DIR}/livecd.lst REACTOS ${REACTOS_BINARY_DIR}/livecd.iso
@@ -26,8 +30,12 @@
VERBATIM)
##hybridcd
-#clear it out and create the empty Desktop folder
-file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst "livecd/Profiles/Default
User/Desktop\n")
+#clear it out
+file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst "")
+
+#create the empty Desktop and Start Menu folders
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst "livecd/Profiles/Default
User/Desktop\n")
+file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst "livecd/Profiles/Default
User/Start Menu/Programs\n")
add_custom_target(hybridcd
COMMAND native-cdmake -j -m -b
${CMAKE_CURRENT_BINARY_DIR}/freeldr/bootsect/isoboot.bin
@${CMAKE_CURRENT_BINARY_DIR}/hybridcd.lst REACTOS ${REACTOS_BINARY_DIR}/hybridcd.iso