Comments (5)
Hey, what image are you building? Could you provide a build log so I can determine if there some edge case where it detects what filesystem its resizing? That code does stuff to resize BTRFS systems, but its likely you are using EXT4
from custompios.
Hey, what image are you building? Could you provide a build log so I can determine if there some edge case where it detects what filesystem its resizing? That code does stuff to resize BTRFS systems, but its likely you are using EXT4
The image I am trying to building is mainsailos.
The img I am using is Raspbian 64bit ver. (It seems to be a EXT4 img)
I think it's the if statement in common.sh
that's causing the problem.
The code below is the screenshot of common.sh
. The line 300
if statement it was skipped for unknown reasons. (not sure if I miss some dependencies to cause this issue).
The code below is skipped code in this if statement. (The code EXT4 filesystem need)
e2fsck -fy $LODEV
resize2fs -p $LODEV
Then I swap the function function enlarge_ext()
to previous version that work. The partition resize normality.
It seems this issue can be solved by adding a fallback. Like add else
at the end? and run the code that EXT4 need?
Also, what dependence I need? The dependence I install "aria2, coreutils, jq. p7zip-full, qemu-user-static, zip". Or? Do this is somethings only in GitHub Action?
-Neko.vecter
from custompios.
Ok, pushed an echo that should print the filesystem line result if it can't determine, could you build and paste that result? That way we can figure why its failing.
from custompios.
Ok, pushed an echo that should print the filesystem line result if it can't determine, could you build and paste that result? That way we can figure why its failing.
I know why! I am missing dependence file
. It can solve by using sudo apt install file
. This may be due to my system installation. (Ubuntu minimal)
I think we need add docs. list what dependence need? Also, add a script to install the dependence that CustomPiOS need.
-Neko.vecter
from custompios.
Since problem solved... I think we can close this issue?
Conclusion:
This issue cause by missing dependence that common.sh
need. The dependence file
is missing by system installation way (Ubuntu minimal).
-Neko.vecter
from custompios.
Related Issues (20)
- `qemu: uncaught target signal 11 (Segmentation fault) - core dumped` HOT 16
- Error while building 64-bit image HOT 12
- Change repo branch on nightly build HOT 6
- Fails building on DietPi - no sshd_config HOT 1
- Fails to resize partition after April 24 release HOT 5
- RPM based distro support HOT 3
- BTRFS needs to resize correctly
- Add secondary root partition HOT 1
- qemu_boot requires xz-compressed images to live in /tmp HOT 6
- use POSIX parameter expansion for assigning default values HOT 2
- dangling files after build eat diskspace. HOT 1
- allow out-of-tree builds HOT 2
- allow distro-relative paths in custompios_path HOT 7
- allow one to alter the user(name) without setting a default password HOT 3
- Build within container abruptly stops on current `devel` image HOT 3
- permissions of the generated image file HOT 3
- Script ./src/make_custom_pi_os returns unexpected error HOT 12
- CustomPiOS v2 - support for remote modules and meta modules and more HOT 14
- docker build: failed to set up loop device: No such file or directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from custompios.