mirror of
https://github.com/reactos/reactos.git
synced 2025-04-30 19:19:00 +00:00
[BOOTDATA] Add TEMP folder to livecd image (#5683)
Create the folder TEMP in X:\reactos so now we can match current livecd environment variables TMP and TEMP can be seen as a part of solving CORE-13041 The use-case for that is: copying the livecd folder structure directly to writable media as USB sticks or memory cards, will work then out-of-the-box without any other change.
This commit is contained in:
parent
02883d1c16
commit
4651faeaa2
1 changed files with 3 additions and 0 deletions
|
@ -141,6 +141,9 @@ add_custom_target(bootcdregtest
|
||||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake.lst "")
|
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake.lst "")
|
||||||
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake.lst "${CMAKE_CURRENT_BINARY_DIR}/empty\n")
|
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake.lst "${CMAKE_CURRENT_BINARY_DIR}/empty\n")
|
||||||
|
|
||||||
|
# Create TEMP dir
|
||||||
|
file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake.lst "reactos/TEMP=${CMAKE_CURRENT_BINARY_DIR}/empty\n")
|
||||||
|
|
||||||
# Create user profile directories
|
# Create user profile directories
|
||||||
add_allusers_profile_dirs(${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake.lst "Profiles")
|
add_allusers_profile_dirs(${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake.lst "Profiles")
|
||||||
add_user_profile_dirs(${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake.lst "Profiles" "Default User")
|
add_user_profile_dirs(${CMAKE_CURRENT_BINARY_DIR}/livecd.cmake.lst "Profiles" "Default User")
|
||||||
|
|
Loading…
Reference in a new issue