search for: check_freebsd_installer_root

Displaying 3 results from an estimated 3 matches for "check_freebsd_installer_root".

2013 Nov 28
3
[PATCH 1/3] inspect: recognise Debian live images as such
Check for filesystem.squashfs also in /live, since it is where live-build places it. --- src/inspect-fs-cd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/inspect-fs-cd.c b/src/inspect-fs-cd.c index 407e4f8..eaeaa6f 100644 --- a/src/inspect-fs-cd.c +++ b/src/inspect-fs-cd.c @@ -429,7 +429,8 @@ guestfs___check_installer_root (guestfs_h *g, struct inspect_fs *fs) *
2013 Nov 28
3
Re: [PATCH 3/3] inspect: improve detection of FreeBSD install discs
...d.c > index eaeaa6f..fff0629 100644 > --- a/src/inspect-fs-cd.c > +++ b/src/inspect-fs-cd.c > @@ -327,6 +327,16 @@ check_isolinux_installer_root (guestfs_h *g, struct inspect_fs *fs) > return 0; > } > > +/* FreeBSD with /boot/loader.rc. > + */ > +static int > +check_freebsd_installer_root (guestfs_h *g, struct inspect_fs *fs) > +{ > + fs->type = OS_TYPE_FREEBSD; > + > + return 0; > +} > + > /* Windows 2003 and similar versions. > * > * NB: txtsetup file contains Windows \r\n line endings, which guestfs_grep > @@ -430,7 +440,8 @@ guestfs___chec...
2013 Nov 28
0
[PATCH 3/3] inspect: improve detection of FreeBSD install discs
...-) diff --git a/src/inspect-fs-cd.c b/src/inspect-fs-cd.c index eaeaa6f..fff0629 100644 --- a/src/inspect-fs-cd.c +++ b/src/inspect-fs-cd.c @@ -327,6 +327,16 @@ check_isolinux_installer_root (guestfs_h *g, struct inspect_fs *fs) return 0; } +/* FreeBSD with /boot/loader.rc. + */ +static int +check_freebsd_installer_root (guestfs_h *g, struct inspect_fs *fs) +{ + fs->type = OS_TYPE_FREEBSD; + + return 0; +} + /* Windows 2003 and similar versions. * * NB: txtsetup file contains Windows \r\n line endings, which guestfs_grep @@ -430,7 +440,8 @@ guestfs___check_installer_root (guestfs_h *g, struct inspect_fs...