https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4651faeaa2030cb60314d5...
commit 4651faeaa2030cb60314d50866f63e83cf8375fe Author: Julio Carchi juliocarchi@yahoo.com AuthorDate: Wed Sep 20 13:57:04 2023 -0500 Commit: GitHub noreply@github.com CommitDate: Wed Sep 20 18:57:04 2023 +0000
[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. --- boot/boot_images.cmake | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/boot/boot_images.cmake b/boot/boot_images.cmake index 877cf28bb4a..ae3e600c05b 100644 --- a/boot/boot_images.cmake +++ b/boot/boot_images.cmake @@ -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 "${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 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")