Changeset 04e520e in mainline for uspace/app/sysinst/sysinst.c
- Timestamp:
- 2024-07-24T10:33:58Z (6 months ago)
- Branches:
- master
- Children:
- 3d2d455b, 53bff11, ddfe233
- Parents:
- 145d4e2e
- git-author:
- Jiri Svoboda <jiri@…> (2024-07-23 17:33:46)
- git-committer:
- Jiri Svoboda <jiri@…> (2024-07-24 10:33:58)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sysinst/sysinst.c
r145d4e2e r04e520e 41 41 #include <errno.h> 42 42 #include <fdisk.h> 43 #include <futil.h> 43 44 #include <loc.h> 44 45 #include <stdio.h> … … 49 50 #include <vol.h> 50 51 51 #include "futil.h"52 52 #include "grub.h" 53 53 #include "rdimg.h" … … 80 80 #define BOOT_BLOCK_IDX 0 /* MBR */ 81 81 82 #define CFG_FILES_SRC "/cfg" 83 #define CFG_FILES_DEST MOUNT_POINT "/cfg" 84 82 85 static const char *default_devs[] = { 83 86 DEFAULT_DEV_0, … … 226 229 free(path); 227 230 path = NULL; 231 232 /* Copy initial configuration files */ 233 rc = futil_rcopy_contents(CFG_FILES_SRC, CFG_FILES_DEST); 234 if (rc != EOK) 235 return rc; 228 236 229 237 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.