diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-04-30 16:55:08 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-04-30 17:56:41 -0700 |
commit | 0ad4421ff9ace9fb9953ee5ec0c2052ce37f36ba (patch) | |
tree | fb64d8b205761ad10a9e3dc4204a3cb0acd17101 /src/util.lisp | |
parent | 68d7fdae8e83847fb024bf8103dc0e71ffa29b24 (diff) | |
download | consfigurator-0ad4421ff9ace9fb9953ee5ec0c2052ce37f36ba.tar.gz |
reflect *MOUNT-BELOW* in OPENED-FILESYSTEM values
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/util.lisp')
-rw-r--r-- | src/util.lisp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util.lisp b/src/util.lisp index 82a7f55..a109720 100644 --- a/src/util.lisp +++ b/src/util.lisp @@ -178,6 +178,10 @@ one-dimensional collections of values." (merge-pathnames (enough-pathname pathname #P"/") (ensure-directory-pathname chroot))) +(defun in-chroot-pathname (pathname chroot) + (ensure-pathname (enough-pathname pathname chroot) + :ensure-absolute t :defaults #P"/")) + ;;;; Progress & debug printing |