Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
4ede9b70
Commit
4ede9b70
authored
9 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Path correction
parent
ace11140
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/freedombone-image-customise
+8
-8
8 additions, 8 deletions
src/freedombone-image-customise
with
8 additions
and
8 deletions
src/freedombone-image-customise
+
8
−
8
View file @
4ede9b70
...
...
@@ -195,7 +195,7 @@ create_generic_image() {
# The presence of this file indicates that the initial
# setup has not yet been completed
touch
$rootdir
/home/
$MY_USERNAME
/.initial_setup
touch
$rootdir
/
home/
root/.initial_setup
touch
$rootdir
/root/.initial_setup
cat
>>
$rootdir
/home/
$MY_USERNAME
/.bashrc
<<
EOF
# initial setup of the system
...
...
@@ -228,19 +228,19 @@ if [ -f ~/.initial_setup ]; then
fi
EOF
cat
>>
$rootdir
/
home/
root/.bashrc
<<
EOF
cat
>>
$rootdir
/root/.bashrc
<<
EOF
# initial setup of the system
if [ -f ~/.initial_setup ]; then
EOF
echo
-n
" echo
\"
${
MY_USERNAME
}
:"
>>
/home
/root/.bashrc
echo
-n
'$(cat /home/'
>>
/home
/root/.bashrc
echo
"
${
MY_USERNAME
}
/login.txt)
\"
|chpasswd"
>>
/home
/root/.bashrc
cat
>>
$rootdir
/
home/
root/.bashrc
<<
EOF
echo
-n
" echo
\"
${
MY_USERNAME
}
:"
>>
/root/.bashrc
echo
-n
'$(cat /home/'
>>
/root/.bashrc
echo
"
${
MY_USERNAME
}
/login.txt)
\"
|chpasswd"
>>
/root/.bashrc
cat
>>
$rootdir
/root/.bashrc
<<
EOF
freedombone menuconfig
rm ~/.initial_setup
EOF
echo
" shred -zu /home/
${
MY_USERNAME
}
/login.txt"
>>
$rootdir
/
home/
root/.bashrc
cat
>>
$rootdir
/
home/
root/.bashrc
<<
EOF
echo
" shred -zu /home/
${
MY_USERNAME
}
/login.txt"
>>
$rootdir
/root/.bashrc
cat
>>
$rootdir
/root/.bashrc
<<
EOF
fi
EOF
}
...
...
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