Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
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
68616dc8
Verified
Commit
68616dc8
authored
Jan 08, 2019
by
Jeremy Soller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set target to aarch64-unknown-redox
parent
03fc74e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/lib.rs
src/lib.rs
+3
-3
No files found.
src/lib.rs
View file @
68616dc8
...
...
@@ -31,7 +31,7 @@ use std::str::FromStr;
pub
(
crate
)
type
Result
<
T
>
=
std
::
result
::
Result
<
T
,
Error
>
;
const
REMOTE
:
&
'static
str
=
"https://static.redox-os.org/pkg"
;
const
TARGET
:
&
'static
str
=
"
x86_
64-unknown-redox"
;
const
TARGET
:
&
'static
str
=
"
aarch
64-unknown-redox"
;
/// Converts a password to a serialized argon2rs hash, understandable
/// by redox_users. If the password is blank, the hash is blank.
...
...
@@ -121,7 +121,7 @@ fn install_packages<S: AsRef<str>>(config: &Config, dest: &str, cookbook: Option
pub
fn
install
<
P
:
AsRef
<
Path
>
,
S
:
AsRef
<
str
>>
(
config
:
Config
,
output_dir
:
P
,
cookbook
:
Option
<
S
>
)
->
Result
<
()
>
{
let
mut
context
=
liner
::
Context
::
new
();
macro_rules!
prompt
{
(
$dst:expr
,
$def:expr
,
$
(
$arg:tt
)
*
)
=>
(
if
config
.general.prompt
{
match
unwrap_or_prompt
(
$dst
,
&
mut
context
,
&
format!
(
$
(
$arg
)
*
))
{
...
...
@@ -214,7 +214,7 @@ pub fn install<P: AsRef<Path>, S: AsRef<str>>(config: Config, output_dir: P, coo
gid
:
None
}
.create
(
&
output_dir
)
?
;
}
if
!
shadow
.is_empty
()
{
FileConfig
{
path
:
"/etc/shadow"
.to_string
(),
...
...
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