Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
facter-debian
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Provoz
facter-debian
Commits
91e8bed7
Commit
91e8bed7
authored
Jul 15, 2022
by
Pavel Vondruska
Browse files
Options
Downloads
Patches
Plain Diff
Vyjmuti NFS4 z filesystem_resolver
parent
36ca0db3
No related branches found
No related tags found
No related merge requests found
Pipeline
#1936
passed
Jul 15, 2022
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
1001-Exclude_NFS4_from_fileresolver.patch
+16
-0
16 additions, 0 deletions
1001-Exclude_NFS4_from_fileresolver.patch
make.sh
+4
-4
4 additions, 4 deletions
make.sh
with
20 additions
and
4 deletions
1001-Exclude_NFS4_from_fileresolver.patch
0 → 100644
+
16
−
0
View file @
91e8bed7
Index: facter-3.14.12/lib/src/facts/linux/filesystem_resolver.cc
===================================================================
--- facter-3.14.12.orig/lib/src/facts/linux/filesystem_resolver.cc
+++ facter-3.14.12/lib/src/facts/linux/filesystem_resolver.cc
@@ -88,6 +88,11 @@
namespace facter { namespace facts { nam
continue;
}
+ // Skip over NFS4
+ if (mtype == "nfs4") {
+ continue;
+ }
+
// If the "root" device, lookup the actual device from the kernel options
// This is done because not all systems symlink /dev/root
if (device == "/dev/root") {
This diff is collapsed.
Click to expand it.
make.sh
+
4
−
4
View file @
91e8bed7
...
@@ -29,13 +29,13 @@ apt update -qqq
...
@@ -29,13 +29,13 @@ apt update -qqq
apt
install
-yqqq
git devscripts build-essential
apt
install
-yqqq
git devscripts build-essential
apt
source
facter
apt
source
facter
cp
01-
statfs-skip-auto.diff
facter-3.14.12/debian/patches
cp
10
01-
Exclude_NFS4_from_fileresolver.patch
facter-3.14.12/debian/patches
cd
facter-3.14.12
cd
facter-3.14.12
echo
'01-
statfs-skip-auto.diff
'
>>
debian/patches/series
echo
'
10
01-
Exclude_NFS4_from_fileresolver.patch
'
>>
debian/patches/series
dch
-
-newversion
"3.14.12-1
+dex
1
"
"[ Dex ]"
dch
-
l
"
+dex"
"[ Dex ]"
dch
--append
"Skip
/auto from statfs
"
dch
--append
"Skip
NFS4 mounts in filesystem_resolver
"
mk-build-deps
--install
--tool
=
'apt-get -o Debug::pkgProblemResolver=yes --yes'
debian/control
mk-build-deps
--install
--tool
=
'apt-get -o Debug::pkgProblemResolver=yes --yes'
debian/control
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment