Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmaports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmaports
Commits
c4796355
Unverified
Commit
c4796355
authored
2 years ago
by
Pablo Correa Gomez
Browse files
Options
Downloads
Patches
Plain Diff
main/postmarketos-mkinitfs-hook-console-shell: use source_deviceinfo (MR 4037)
parent
b26ba878
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/postmarketos-mkinitfs-hook-console-shell/APKBUILD
+3
-3
3 additions, 3 deletions
main/postmarketos-mkinitfs-hook-console-shell/APKBUILD
main/postmarketos-mkinitfs-hook-console-shell/console-shell.sh
+1
-1
1 addition, 1 deletion
...postmarketos-mkinitfs-hook-console-shell/console-shell.sh
with
4 additions
and
4 deletions
main/postmarketos-mkinitfs-hook-console-shell/APKBUILD
+
3
−
3
View file @
c4796355
# Maintainer: Ferenc Bakonyi <bakonyi.ferenc@gmail.com>
pkgname
=
postmarketos-mkinitfs-hook-console-shell
pkgver
=
0.
2
pkgrel
=
1
pkgver
=
0.
3
pkgrel
=
0
pkgdesc
=
"Root console shell in the initramfs (security hole, for debugging only)"
url
=
"https://postmarketos.org"
depends
=
"postmarketos-mkinitfs fbdebug evtest linuxconsoletools reboot-mode fbkeyboard font-dejavu"
...
...
@@ -20,7 +20,7 @@ package() {
}
sha512sums
=
"
5dec96bc74be95220dc72ad9dfee6e547833feccc23415d4734508601d72b0515d45c911ac2f551df2bc43141052bf260ff4f34f3869c4c0945f3b22af8d7f3c
console-shell.sh
3707a23673e3a14165c63a025e9cd811fcee3369f491c381f91ed2fde396613f57db2fa52a38cbf74676f5e5ac21d9f0eb0c45fb420c51450ebc18317f168aab
console-shell.sh
17b65cb24103e4c1459ae72bc036c1f06cdfcccf480389ecf6a28253d104b9b06d394cf53314a1ef4ace4ffc88b6b1384ef4894b7270d6b2cfdfc83592e12b2c console-shell.files
a9b069ed121ffeee887e0583d8cb46035ecf1fa90a26a4ecb3aa11ff03178b2b08621f6676db6b2350f290694c04aabcf36f2ce3e0813a76dde9a33555edb112 console-shell.modules
"
This diff is collapsed.
Click to expand it.
main/postmarketos-mkinitfs-hook-console-shell/console-shell.sh
+
1
−
1
View file @
c4796355
#!/bin/sh
# shellcheck disable=SC1091
.
/etc/deviceinfo
.
./init_functions.sh
source_deviceinfo
# mount pstore, if possible
if
[
-d
/sys/fs/pstore
]
;
then
...
...
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