forked from Mirror/pmbootstrap
Two trivial changes (typo + info message) (#179)
Thanks, Pablo Castellano! * Fixed typo * Guide user about what are the next steps after flashing kernel and password * Increased postmarketos-mkinitfs' pkgver and rewording Changes requested: https://github.com/postmarketOS/pmbootstrap/pull/179
This commit is contained in:
parent
1aae094b50
commit
6be7d656ee
6 changed files with 21 additions and 4 deletions
|
@ -168,7 +168,7 @@ def is_necessary(args, arch, apkbuild, apkindex_path=None):
|
|||
# Get package name, version, define start of debug message
|
||||
package = apkbuild["pkgname"]
|
||||
version_new = apkbuild["pkgver"] + "-r" + apkbuild["pkgrel"]
|
||||
msg = "Build is neccessary for package '" + package + "': "
|
||||
msg = "Build is necessary for package '" + package + "': "
|
||||
|
||||
# Get old version from APKINDEX
|
||||
if apkindex_path:
|
||||
|
|
|
@ -191,6 +191,7 @@ deviceinfo_attributes = [
|
|||
# INITFS
|
||||
#
|
||||
initfs_hook_prefix = "postmarketos-mkinitfs-hook-"
|
||||
default_ip = "172.16.42.1"
|
||||
|
||||
|
||||
#
|
||||
|
|
|
@ -19,6 +19,7 @@ along with pmbootstrap. If not, see <http://www.gnu.org/licenses/>.
|
|||
import logging
|
||||
import os
|
||||
|
||||
import pmb.config
|
||||
import pmb.flasher
|
||||
import pmb.install
|
||||
import pmb.chroot.apk
|
||||
|
@ -62,6 +63,14 @@ def kernel(args):
|
|||
else:
|
||||
logging.info("(native) flash kernel " + flavor)
|
||||
pmb.flasher.run(args, "flash_kernel", flavor)
|
||||
logging.info("You will get an IP automatically assigned to your "
|
||||
"USB interface shortly.")
|
||||
logging.info("Connect to the telnet session and type your LUKS password"
|
||||
" to boot postmarketOS (not necessary if full disk"
|
||||
" encryption is disabled):")
|
||||
logging.info("telnet " + pmb.config.default_ip)
|
||||
logging.info("Then you can connect to your device using ssh:")
|
||||
logging.info("ssh user@" + pmb.config.default_ip)
|
||||
|
||||
|
||||
def list_flavors(args):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue