Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-system-image
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
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
Reform
reform-system-image
Commits
a63e8bf7
Verified
Commit
a63e8bf7
authored
1 year ago
by
minute
Browse files
Options
Downloads
Patches
Plain Diff
clear cmdline variables, these are now in reform-tools / flash-kernel
parent
d392995d
No related branches found
No related tags found
1 merge request
!83
Build LS1028A System Image
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mkimage.sh
+4
-13
4 additions, 13 deletions
mkimage.sh
with
4 additions
and
13 deletions
mkimage.sh
+
4
−
13
View file @
a63e8bf7
...
@@ -101,22 +101,13 @@ set -- "$@" --include="brightnessctl brightness-udev ca-certificates debian-arch
...
@@ -101,22 +101,13 @@ set -- "$@" --include="brightnessctl brightness-udev ca-certificates debian-arch
# --skip=cleanup/reproducible
# --skip=cleanup/reproducible
# apt preferences
# apt preferences
set
--
"
$@
"
--setup-hook
=
'{ echo "Package: *"; echo "Pin: release n=reform, l=reform"; echo "Pin-Priority: 990"; } > "$1"/etc/apt/preferences.d/reform.pref'
set
--
"
$@
"
--setup-hook
=
'{ echo "Package: *"; echo "Pin: release n=reform, l=reform"; echo "Pin-Priority: 990"; } > "$1"/etc/apt/preferences.d/reform.pref'
# We write out /etc/default/flash-kernel with kernel cmdline arguments for
# The board specific kernel commandline arguments now live in
# imx8mq because u-boot for that SoM is not guaranteed to have ${bootargs}
# available in boot.scr. Other platforms set ${bootargs} to overwrite imx8mq
# specific values defined here.
# It would be possible to not encode imx8mq specific bootargs here by adding
# a custom boot.scr derived from bootscr.uboot-generic which adds imx8mq
# specific bootargs if it detects that platform and finds ${bootargs} to be
# empty.
# Another way to avoid this list here would be to add code to
# /usr/share/flash-kernel/ubootenv.d/00reform2_ubootenv which does the
# /usr/share/flash-kernel/ubootenv.d/00reform2_ubootenv which does the
# platform detection and then adds the options to ${bootargs}.
# platform detection and then adds the options to ${bootargs}.
set
--
"
$@
"
--essential-hook
=
'{ echo LINUX_KERNEL_CMDLINE=\"console=ttymxc0,115200 console=ttyAML0,115200 console=ttyS0,115200 console=tty1\"; echo LINUX_KERNEL_CMDLINE_DEFAULTS=\"ro no_console_suspend cma=512M@3G pci=nomsi,pcie_bus_perf libata.force=noncq nvme_core.default_ps_max_latency_us=0 cryptomgr.notests iommu.passthrough=1 arm-smmu.disable_bypass=0\"; } > "$1"/etc/default/flash-kernel'
set
--
"
$@
"
--essential-hook
=
'{ echo LINUX_KERNEL_CMDLINE=\"\"; echo LINUX_KERNEL_CMDLINE_DEFAULTS=\"\"; } > "$1"/etc/default/flash-kernel'
# even when above has been taken care of, we still want to overwrite
# We still want to overwrite /etc/default/flash-kernel because by default it will contain
# /etc/default/flash-kernel because by default it will contain
# LINUX_KERNEL_CMDLINE="quiet" and we don't want that
# LINUX_KERNEL_CMDLINE="quiet" and we don't want that
#
set -- "$@" --essential-hook='{ echo LINUX_KERNEL_CMDLINE=\"\"; echo LINUX_KERNEL_CMDLINE_DEFAULTS=\"\"; } > "$1"/etc/default/flash-kernel'
#
# select timezone and locales
# select timezone and locales
# FIXME: this should be done by a firstboot script
# FIXME: this should be done by a firstboot script
set
--
"
$@
"
\
set
--
"
$@
"
\
...
...
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