Skip to content

Fix README_JP6.2.md - #358

Closed
ymodlin wants to merge 1 commit into
devfrom
fix-readme
Closed

Fix README_JP6.2.md#358
ymodlin wants to merge 1 commit into
devfrom
fix-readme

Conversation

@ymodlin

@ymodlin ymodlin commented Feb 12, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings February 12, 2026 13:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the installation instructions in the Japanese README for Jetpack 6.2, specifically improving the module installation and initramfs update procedures.

Changes:

  • Modified kernel module installation to completely replace /lib/modules instead of copying a specific version
  • Added initramfs update commands and symbolic link creation for the boot process

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README_JP6.2.md
Comment on lines +136 to +137
sudo rm -r /lib/modules
sudo cp -r ./lib/modules/ /lib/

Copilot AI Feb 12, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the entire /lib/modules directory without confirmation is risky and could break the system if the copy operation fails. Consider using sudo rm -r /lib/modules/5.15.148-tegra to remove only the specific module version being replaced, or add the -f flag and proper error handling.

Suggested change
sudo rm -r /lib/modules
sudo cp -r ./lib/modules/ /lib/
sudo rm -rf /lib/modules/5.15.148-tegra
sudo cp -r ./lib/modules/5.15.148-tegra /lib/modules/.

Copilot uses AI. Check for mistakes.
Comment thread README_JP6.2.md
tar xf rootfs.tar.gz
sudo cp -r ./lib/modules/5.15.148-tegra /lib/modules/.
sudo rm -r /lib/modules
sudo cp -r ./lib/modules/ /lib/

Copilot AI Feb 12, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The trailing slash in ./lib/modules/ may cause inconsistent behavior across different shell environments. For clarity and consistency with line 136, use ./lib/modules without the trailing slash.

Suggested change
sudo cp -r ./lib/modules/ /lib/
sudo cp -r ./lib/modules /lib/

Copilot uses AI. Check for mistakes.
@ymodlin ymodlin closed this Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants