Changeset 7671231 in mainline


Ignore:
Timestamp:
2019-08-03T09:02:12Z (5 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
2dda1d4
Parents:
4b1c6a4b
git-author:
Michal Koutný <xm.koutny+hos@…> (2015-05-06 22:50:11)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2019-08-03 09:02:12)
Message:

Add configuration option to put all files to RAM disk (as before) or partly to hard disk

  • Instead of four groups in Makefile.common, each server/application/driver has an item then determines where it should be stored and whether it is essential (as before).
  • Drivers are always on RAM disk (i.e. that is where devman is searching for them).
  • Empty cfg/net directory removed, configuration files are specified in Makefile.common instead.
  • Hard disk is mounted to /root.
  • tools/ew.py script favors original behavior, it prefers hdisk.img to root FS disk image (when both exists).
  • MISSING: Modify Makefiles of non-x86 platforms.

Conflicts:

.bzrignore
boot/Makefile
boot/Makefile.common
boot/arch/amd64/Makefile.inc
tools/ew.py
uspace/Makefile.common
uspace/lib/gui/terminal.c

Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • boot/Makefile

    r4b1c6a4b r7671231  
    7070endif
    7171
    72         cp -r -L $(INITRD_CFG_PATH)/* $(DIST_PATH)/cfg
     72        cp -r -L $(CFG_PATH)/* $(DIST_PATH)/cfg
    7373        for app in $(RD_APPS) ; do \
    7474                app_dir="`dirname "$$app"`" ; \
  • boot/Makefile.common

    r4b1c6a4b r7671231  
    5050TOOLS_PATH = $(ROOT_PATH)/tools
    5151DRVS_PATH = drv
    52 INITRD_CFG_PATH = $(USPACE_PATH)/cfg
    53 # TODO configuration separation may change
    54 ROOTFS_CFG_PATH = $(USPACE_PATH)/cfg
     52CFG_PATH = $(USPACE_PATH)/cfg
    5553
    5654MKARRAY = $(TOOLS_PATH)/mkarray.py
  • uspace/cfg/sysman/rootfs.mnt

    r4b1c6a4b r7671231  
     1[Unit]
     2; explicit, VFS not instrumented for autostart
     3After = fat.svc
     4
     5[Mount]
    16What = devices/\hw\pci0\00:01.0\ata-c1\d0
    27Where = /root
Note: See TracChangeset for help on using the changeset viewer.