aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixed a bug which prevented aufs.modules from functioning properlyFernando Reyes (likewhoa)2014-08-073-18/+22
| | | | | | | | and changed the variables names to reflect the actual logic.
| * Changed to the dd command which creates the livecd.aufs image forFernando Reyes (likewhoa)2014-07-312-12/+24
| | | | | | | | | | | | the aufs writable branch to make the process faster we create a sparse file. Added a check for a block device so that we don't try mounting the aufs device & some small comestic changes.
| * fixed merged conflictsFernando Reyes (likewhoa)2014-06-290-0/+0
| |\
| | * More coding style changes to two of the union_* functions. LC_COLLATE=CFernando Reyes (likewhoa)2014-06-262-15/+31
| | | | | | | | | | | | | | | is introduced to allow globbing since we never want to parse ls. Introduced a helper function for union_insert_modules as well.
| * | This is commit contains several changes summarized below.Fernando Reyes (likewhoa)2014-06-293-184/+185
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Changed renaming of RC_NO_UMOUNTS directories 2. Upper to lowercase variables because this is the year 2014 3. Renamed aufs related variables for better readability 4. Fixed a typo in mke2fs command which was missing an "&" 5. Cleaned up setup_squashfs_aufs() function 6. Fixed an issue with legacy squashfs implementation which caused /mnt/cdrom to be shown twice in 'mount' and removed the --bind and replaced this with --move 7. Restructured the union_* functions so that we don't parse 'ls' and enabled globbing 8. Coding style changes - rid of the unnecessary braces - fix a missing & for mke2fs on livecd.aufs - renamed variables for more readabilit 9. Better error handling for changesfs() 10. Removed aufs.persistent since 'aufs' already mounts a tmpfs which uses half the available ram, and since this feature is not true persistent we remove it in favor of aufs=<DEV>
| * Reverting back old mknod permission settings for netboot compatibilityFernando Reyes (likewhoa)2014-06-251-4/+4
| |
| * Introduced a new funtion to test for numeric values that that our changes_fs ↵Fernando Reyes (likewhoa)2014-06-241-4/+17
| | | | | | | | | | | | | | doesn't fail when non-numeric values are given, also the styling of changes_fs was changed to reflect new logic.
| * Coding style changes throughout all the AUFS related code.Fernando Reyes (likewhoa)2014-06-243-222/+188
| |
| * Fixes a bug introduced by 8405e23 that broke none AUFS bootsFernando Reyes (likewhoa)2014-06-241-0/+1
| |
| * This introduces changes to former commits d8e2d4d & 720a60f inFernando Reyes (likewhoa)2014-06-241-19/+13
| | | | | | | | | | which there are fstab changes and tmpfs mounts which are combined into one /etc/fstab instead.
| * Better implementation which was originally done in 946918e & 7a38d63.Fernando Reyes (likewhoa)2014-06-242-36/+38
| |
| * A new bootstrapFS function has been added to cut on duplicate codeFernando Reyes (likewhoa)2014-06-242-49/+50
| | | | | | | | | | use which both aufs and squashfs boot types use and this it's moved to the top of the boot process.
| * dokeymap implementation for AUFS's unionFernando Reyes (likewhoa)2014-06-241-0/+6
| |
| * This improves the way we handle RC_NO_UMOUNT variable in openrc so thatFernando Reyes (likewhoa)2014-06-241-14/+29
| | | | | | | | | | future changes can scale and fixes previous bugs which didn't actually remove duplicates.
| * coding style changesFernando Reyes (likewhoa)2014-06-241-11/+19
| |
| * Better handle on if aufs.modules kernel parameter is usedFernando Reyes (likewhoa)2014-06-242-9/+14
| |
| * Wording changes, cosmetic crapFernando Reyes (likewhoa)2014-06-242-13/+15
| |
| * Output cleaningFernando Reyes (likewhoa)2014-06-241-2/+2
| |
| * Restructure the setup_aufs function, it had redundant code and movedFernando Reyes (likewhoa)2014-06-242-94/+89
| | | | | | | | the call to it further down the pipe.
| * Cleanup dd output from changes file creationFernando Reyes (likewhoa)2014-06-241-1/+1
| |
| * Enhanced the shutdown process and changed from using ${UNION} to ${CHROOT} toFernando Reyes (likewhoa)2014-06-242-14/+32
| | | | | | | | | | | | better understand the logic behind things as CHROOT is set to ${UNION} anyways. RC_NO_UMOUNTS is more dynamic now and should scale up.
| * Removing --bind on some directories to prevent ${NEW_ROOT} pathFernando Reyes (likewhoa)2014-06-242-12/+6
| | | | | | | | | | | | | | from existing in favor of --move. Got rid of the no longer required subshell call for aufs ${NEW_ROOT} overlay.
| * This fixes /etc/fstab from not working while in setup_aufs function and insteadFernando Reyes (likewhoa)2014-06-242-1/+4
| | | | | | | | includes it in the union path.
| * Cleaner shutdown process preventing aufs related mounts fromFernando Reyes (likewhoa)2014-06-243-3/+21
| | | | | | | | | | | | | | | | being umounted along with mnt/{livecd,cdrom} and others. Addition of a variable for aufs changes so that required directory can be create upon successful creation of the livecd image file.
| * Merge branch 'master' into aufsRobin H. Johnson2014-06-2311-32/+51
| |\
| * | remove pointless changes size warningRick Farina (Zero_Chaos)2014-05-221-1/+0
| | | | | | | | | | | | a check has been added rendering this warning obsolete
| * | Removing use of 'let' and cleaner output of dd command, plus minor cosmeticFernando Reyes (likewhoa)2014-05-221-6/+8
| | |
| * | Fix kernel line argument handling.Fernando Reyes (likewhoa)2014-05-221-17/+17
| | | | | | | | | | | | | | | Fix kernel line argument handling since it's using old deprecated function.
| * | Merged master into aufsRick Farina (Zero_Chaos)2014-05-220-0/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While doing it there were some odd permissions issues in the area so I fixed them to be more sane. Merge branch 'aufs' of git+ssh://git.overlays.gentoo.org/proj/genkernel into aufs Conflicts: defaults/linuxrc
| | * | Document the very large if structure for AUFS.Robin H. Johnson2014-03-171-17/+18
| | | | | | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| | * | Refactor tmpfs creation to aufs env.Robin H. Johnson2014-03-171-6/+10
| | | | | | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| | * | cleanup: these directories were dropped in the aufs patch.Robin H. Johnson2014-03-171-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| | * | Proper AUFS supportRick Farina (Zero_Chaos)2014-03-173-52/+319
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is what we have been using for the Pentoo LiveCDs for about 5 years with the changes suggested by lxnay merged in. As much as possible has been addressed (with the exception of the man page documentation). Please review this code as the next version will likely be suggested for inclusion (once I write the documentation for the new features). Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
| * | | Document the very large if structure for AUFS.Robin H. Johnson2014-05-221-17/+18
| | | | | | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| * | | Refactor tmpfs creation to aufs env.Robin H. Johnson2014-05-221-6/+10
| | | | | | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| * | | cleanup: these directories were dropped in the aufs patch.Robin H. Johnson2014-05-221-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
| * | | Proper AUFS supportRick Farina (Zero_Chaos)2014-05-223-54/+321
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is what we have been using for the Pentoo LiveCDs for about 5 years with the changes suggested by lxnay merged in. As much as possible has been addressed (with the exception of the man page documentation). Please review this code as the next version will likely be suggested for inclusion (once I write the documentation for the new features). Signed-off-by: Rick Farina (Zero_Chaos) <zerochaos@gentoo.org>
* | | | Bump version to 3.4.51v3.4.51Robin H. Johnson2014-07-151-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* | | | Bug #468760: mpath_prio_* tools needed sometimes. Patch by Ian Stakenvicius ↵Robin H. Johnson2014-07-151-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | <axs@gentoo.org>. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* | | | multipath needs to be autoloaded with domultipath, ditto dozfs => zfs.Robin H. Johnson2014-07-151-1/+4
| | | | | | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* | | | Add support for more nic drivers to netboot - forgot to add x86_64 config.Jorge Manuel B. S. Vicetto (jmbsvicetto)2014-06-251-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
* | | | Add support for more nic drivers to netboot.Jorge Manuel B. S. Vicetto (jmbsvicetto)2014-06-251-1/+1
| |_|/ |/| | | | | | | | Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
* | | gen_package: packaged kernel/initramfs name fixesv3.4.50Robin H. Johnson2014-06-231-5/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous commit 76e801c8 did not actually go far enough. The existing install from kerncache code that is normally used with passing --install used a form of kernel-${KNAME}-${ARCH}-${KV}. Instead of just the kernel-${ARCH}-${KV} we were using in commit 76e801c8, or kernel-${KV} that we used before that, let's use the same naming per the regular path. Also add safety checks that the kernels exist, as you could get an empty tarball otherwise! Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* | | gen_cmdline: fix pkg path getting stuff deletedRobin H. Johnson2014-06-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you pass --minkernpackage=X, --modulespackage=X or --kerncache=X with a relative path, then it's creates the output file in a temporary working dir that is later removed during cleanup. Resolve the paths during argument parsing to prevent this. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* | | gen_package: print full paths to pkgs/cache outputRobin H. Johnson2014-06-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | The files are not created in the PWD when genkernel run without specifying absolute paths for those arguments and I need to debug where they are actually going. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* | | genkernel: Bump version.Robin H. Johnson2014-06-231-1/+1
| | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* | | gen_package: Log where the kern/mod/cache files goRobin H. Johnson2014-06-231-0/+3
| | | | | | | | | | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* | | genkernel.conf: DISTDIR in /var/cache badRobin H. Johnson2014-06-231-1/+1
| | | | | | | | | | | | | | | | | | | | | Move DISTDIR to /usr/share/genkernel/distfiles: /var/cache might be on tmpfs and wiped each boot. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* | | Whitepace.Jorge Manuel B. S. Vicetto (jmbsvicetto)2014-06-226-21/+21
| | | | | | | | | | | | Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
* | | Make gen_minkernpackage use the same kernel naming as the normal path ↵Robin H. Johnson2014-06-211-2/+2
| | | | | | | | | | | | | | | | | | (kerncache). Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>