| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
and changed the variables names to reflect the actual logic.
|
| |
| |
| |
| |
| |
| | |
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.
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
is introduced to allow globbing since we never want to parse ls.
Introduced a helper function for union_insert_modules as well.
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
doesn't fail
when non-numeric values are given, also the styling of changes_fs was changed to
reflect new logic.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
which there are fstab changes and tmpfs mounts which are combined
into one /etc/fstab instead.
|
| | |
|
| |
| |
| |
| |
| | |
use which both aufs and squashfs boot types use and this it's moved
to the top of the boot process.
|
| | |
|
| |
| |
| |
| |
| | |
future changes can scale and fixes previous bugs which didn't actually
remove duplicates.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
the call to it further down the pipe.
|
| | |
|
| |
| |
| |
| |
| |
| | |
better understand the logic behind things as CHROOT is set to ${UNION} anyways.
RC_NO_UMOUNTS is more dynamic now and should scale up.
|
| |
| |
| |
| |
| |
| |
| | |
from existing in favor of --move.
Got rid of the no longer required subshell call for aufs ${NEW_ROOT}
overlay.
|
| |
| |
| |
| | |
includes it in the union path.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ |
|
| | |
| | |
| | |
| | | |
a check has been added rendering this warning obsolete
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Fix kernel line argument handling since it's using old deprecated
function.
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
<axs@gentoo.org>.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
|
| |_|/
|/| |
| | |
| | | |
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
|
| | |
| | |
| | |
| | |
| | |
| | | |
(kerncache).
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
|