rename xbps-packages to void-packages

This commit is contained in:
Enno Boland
2014-09-26 14:24:06 +02:00
parent 09bf6646d1
commit 2fe65dccec
6 changed files with 15 additions and 13 deletions

View File

@@ -83,7 +83,7 @@ static void __attribute__((noreturn))
usage(const char *p)
{
printf("Usage: %s [-D dir] [-H dir] [-S dir] <chrootdir> <command>\n\n"
"-D <distdir> Directory to be bind mounted at <chrootdir>/xbps-packages\n"
"-D <distdir> Directory to be bind mounted at <chrootdir>/void-packages\n"
"-H <hostdir> Directory to be bind mounted at <chrootdir>/host\n"
"-S <shmdir> Directory to be bind mounted at <chrootdir>/<shmdir>\n", p);
exit(EXIT_FAILURE);
@@ -227,7 +227,7 @@ main(int argc, char **argv)
/* bind mount distdir (if set) */
if (distdir)
bindmount(ruid, chrootdir, distdir, "/xbps-packages");
bindmount(ruid, chrootdir, distdir, "/void-packages");
/* bind mount shmdir (if set) */
if (shmdir)

View File

@@ -27,7 +27,7 @@ are simply disabled.
.Bl -tag -width -x
.It Fl D Ar dir
Specifies a full path to a directory that will be bind mounted at
.Ar CHROOTDIR/xbps-packages .
.Ar CHROOTDIR/void-packages .
.It Fl H Ar dir
Specifies a full path to a directory that will be bind mounted at
.Ar CHROOTDIR/host .