Skip to content

Commit

Permalink
Add POOL_Size variable to improve flexibility and maintainability
Browse files Browse the repository at this point in the history
Define a variable, POOL_SIZE='6g', to makes it easier to adjust the size in the future if needed.
  • Loading branch information
Vic Thacker authored Sep 9, 2024
1 parent c674c73 commit 5765104
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ workspace()
mkdir -p ${livecd} ${base} ${iso} ${software_packages} ${base_packages} ${release}

# Create a new pool image file of 6GB
truncate -s 6g ${livecd}/pool.img
POOL_SIZE='6g'
truncate -s ${POOL_SIZE} ${livecd}/pool.img

# Attach the pool image as a memory disk
mdconfig -f ${livecd}/pool.img -u 0
Expand Down

0 comments on commit 5765104

Please sign in to comment.