Permalink
Browse files

Keep from=/ only if psubdir= is in use

If live is changed by psubdir=somename then from=/ is needed:

```
title DebianDog psubdir=dd-stretch
 root (hd0,0)
 kernel /dd-stretch/vmlinuz1 psubdir=dd-stretch
 initrd /dd-stretch/initrd1.xz
```

After this change if you keep live name no need to add from=/ and psubdir=

```
title DebianDog in /live
 root (hd0,0)
 kernel /live/vmlinuz1
 initrd /live/initrd1.xz
```
  • Loading branch information...
MintPup committed Aug 21, 2017
1 parent f92e64f commit be40d5a344f60e1d6301e29496eb81ab828b4441
Showing with 2 additions and 1 deletion.
  1. +2 −1 porteus-boot/linuxrc
View
@@ -40,7 +40,8 @@ NOLOAD=`value noload | sed 's/;/|/g'`; [ $NOLOAD ] || NOLOAD=._null
EXTRAMOD=`value extramod | sed 's/;/ /g'`
RAMMOD=`value rammod | sed 's/;/|/g'`
ROOTCOPY=`value rootcopy`
FOLDER="`value psubdir`" || FOLDER=live ###saintless - use psubdir= instead always depending on live (mod from linuxrc in in PuppyRus-A from sfs).
FOLDER=`value psubdir`; [ $FOLDER ] || FOLDER=live #saintless - use psubdir= instead always depending on live (mod from linuxrc in in PuppyRus-A from sfs).
livedbg=/var/log/livedbg
# Device Functions:

0 comments on commit be40d5a

Please sign in to comment.