Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
installer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
redox-os
installer
Commits
8d6a4d70
Commit
8d6a4d70
authored
May 10, 2017
by
Jeremy Soller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add RedoxFS as submodule. Do not create passwd if no users are provided
parent
c2bae248
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
.gitmodules
.gitmodules
+3
-0
redoxfs
redoxfs
+1
-0
src/install.rs
src/install.rs
+3
-1
No files found.
.gitmodules
0 → 100644
View file @
8d6a4d70
[submodule "redoxfs"]
path = redoxfs
url = https://github.com/redox-os/redoxfs.git
redoxfs
@
6c1d98ce
Subproject commit 6c1d98cea83e2bb02b940959e6b07625ec12656f
src/install.rs
View file @
8d6a4d70
...
...
@@ -189,7 +189,9 @@ pub fn install(config: Config, cookbook: Option<&str>) -> Result<(), String> {
passwd
.push_str
(
&
format!
(
"{};{};{};{};{};{};{}
\n
"
,
username
,
password
,
uid
,
gid
,
name
,
home
,
shell
));
}
file!
(
"etc/passwd"
,
passwd
.as_bytes
());
if
!
passwd
.is_empty
()
{
file!
(
"etc/passwd"
,
passwd
.as_bytes
());
}
Ok
(())
}
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