trynd / wren

Linux boot platform that provides a portable, multi-system, run-in-memory Linux environment.
GNU General Public License v3.0
0 stars 1 forks source link

Implement new RUN_ENV_PLATFORM_PATH variable #19

Closed codewithmichael closed 9 years ago

codewithmichael commented 9 years ago

Addresses issue #18 (_Replace environment's RUN_ENV_PLATFORM_NAME with RUN_ENV_PLATFORMPATH).

I updated wrender with two new options: --prefix and --package. These are used to determine the new RUN_ENV_PLATFORM_PATH variable which is also the directory the files are copied into. Currently --prefix defaults to /etc and --package defaults to $RUN_ENV_PLATFORM_NAME from platform-env. When combined they form a default RUN_ENV_PLATFORM_PATH of /etc/wren.

The setlist has been updated to use the new path variable.

All project scripts were updated to load their platform environment (platform-env) using the new path variable.

wrender adds the new path variable to the /etc/environment file, and this is the only place the variable (RUN_ENV_PLATFORM_PATH) is defined.

codewithmichael commented 9 years ago

Looks like I forgot to update the /etc/sudoers file to include the new variable.

codewithmichael commented 9 years ago

Alright, this should be good to go.