Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
cdcf4b0f
Commit
cdcf4b0f
authored
May 19, 2022
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace 'fgrep' to 'grep -F'
Fix 'warning: fgrep is obsolescent; using grep -F'
parent
ee111341
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
check-pkg-list
bin/check-pkg-list
+2
-2
50-udev
sub.in/stage2/image-scripts.d/50-udev
+1
-1
No files found.
bin/check-pkg-list
View file @
cdcf4b0f
...
...
@@ -41,8 +41,8 @@ check_pkglist() {
>
"
$ftemp
"
# got list of pkgnames we need
# split pkgnames without wildcards and with wildcards
fgrep
-v
'*'
"
$ftemp
"
>
"
$fpkgnames
"
fgrep
'*'
"
$ftemp
"
>
"
$fpkgwildcards
"
grep
-F
-v
'*'
"
$ftemp
"
>
"
$fpkgnames
"
grep
-F
'*'
"
$ftemp
"
>
"
$fpkgwildcards
"
# return unavailable packages
comm
-23
"
$fpkgnames
"
"
$favaillist
"
>
"
$fpkgerrors
"
...
...
sub.in/stage2/image-scripts.d/50-udev
View file @
cdcf4b0f
...
...
@@ -5,5 +5,5 @@ ln -sf /proc/mounts /etc/mtab
# pam_console_apply is harmful during install
find /etc/udev/rules.d/
-type
f
-print0
|
xargs
-r0
fgrep
-Zl
pam_console_apply
--
|
xargs
-r0
grep
-F
-Zl
pam_console_apply
--
|
xargs
-r0
rm
-fv
--
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment