Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nfs build #4139

Merged
merged 2 commits into from
Sep 1, 2022
Merged

Fix nfs build #4139

merged 2 commits into from
Sep 1, 2022

Conversation

hzyitc
Copy link
Member

@hzyitc hzyitc commented Sep 1, 2022

Description

This PR address the following issue while build as NFS:

[ .... ] Copying files to [ /boot ]

sent 18.23M bytes  received 4.74K bytes  36.46M bytes/sec
total size is 18.21M  speedup is 1.00
find: ‘/root/armbian-onecloud/.tmp/mount-ea6d8ff5-ed2a-4888-8361-6ae990318e95/lib/modules/’: No such file or directory
[ error ] ERROR in function update_initramfs [ main.sh:588 -> main.sh:549 -> debootstrap.sh:98 -> debootstrap.sh:863 -> debootstrap.sh:789 -> general.sh:0 ]
[ error ] No kernel installed for the version [ 5.17.11 ]
[ o.k. ] Process terminated 
[ error ] unmount_on_exit() called! [ main.sh:1 -> image-helpers.sh:0 ]
[ o.k. ] Unmounting [ /root/armbian-onecloud/.tmp/rootfs-ea6d8ff5-ed2a-4888-8361-6ae990318e95/ ]
[ error ] ERROR in function unmount_on_exit [ main.sh:1 -> image-helpers.sh:94 -> general.sh:0 ]
[ error ] debootstrap-ng was interrupted 
[ o.k. ] Process terminated

How Has This Been Tested?

  • Build

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

Copy link
Member

@igorpecovnik igorpecovnik left a comment

Choose a reason for hiding this comment

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

LGTM

@igorpecovnik igorpecovnik added the Ready to merge Reviewed, tested and ready for merge label Sep 1, 2022
@igorpecovnik igorpecovnik merged commit ac20afc into armbian:master Sep 1, 2022
@hzyitc hzyitc deleted the fix-nfs branch September 2, 2022 05:23
smlinux pushed a commit to smlinux/armbian-tanix-tx6 that referenced this pull request Sep 4, 2022
* Tweak the size of NFS boot image to avoid no space while update_initramfs

* Bind mount root for update_initramfs when ROOTFS_TYPE=nfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready to merge Reviewed, tested and ready for merge
Development

Successfully merging this pull request may close these issues.

None yet

2 participants