Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lipck
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
lipck
Commits
b1352c73
Commit
b1352c73
authored
10 years ago
by
Christopher Spinrath
Browse files
Options
Downloads
Patches
Plain Diff
gparted support
parent
584ce6c7
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+10
-1
10 additions, 1 deletion
Makefile
config/Makefile.conf.defaults
+2
-0
2 additions, 0 deletions
config/Makefile.conf.defaults
with
12 additions
and
1 deletion
Makefile
+
10
−
1
View file @
b1352c73
...
@@ -79,6 +79,8 @@ define getisoname =
...
@@ -79,6 +79,8 @@ define getisoname =
$(ISO_PREFIX)desktop-
$(
call
altarch,
$1
)
.iso
$(ISO_PREFIX)desktop-
$(
call
altarch,
$1
)
.iso
endef
endef
GPARTED_BASE_URL
=
http://sourceforge.net/projects/gparted/files/gparted-live-stable/
$(
GPARTED_VERSION
)
/
#applies all patches in $1 to target directory $2
#applies all patches in $1 to target directory $2
define
patch_all =
define
patch_all =
$(foreach p,$(wildcard $1/*),@echo "Applying \"$1\" to \"$2\"
:
" &&
\
$(foreach p,$(wildcard $1/*),@echo "Applying \"$1\" to \"$2\"
:
" &&
\
...
@@ -327,7 +329,8 @@ image_git_pull: |$(IMAGE_DIR)/.git
...
@@ -327,7 +329,8 @@ image_git_pull: |$(IMAGE_DIR)/.git
IMAGE_BINARIES
=
$(
COMMON_DIR
)
/lip-
$(
PRIMARY_ARCH
)
.squashfs
$(
COMMON_DIR
)
/lip-
$(
SECONDARY_ARCH
)
.squashfs
$(
COMMON_DIR
)
/lip-common.squashfs
\
IMAGE_BINARIES
=
$(
COMMON_DIR
)
/lip-
$(
PRIMARY_ARCH
)
.squashfs
$(
COMMON_DIR
)
/lip-
$(
SECONDARY_ARCH
)
.squashfs
$(
COMMON_DIR
)
/lip-common.squashfs
\
$(
PRIMARY_ARCH_DIR
)$(
INITRD_TARGET
)
$(
SECONDARY_ARCH_DIR
)$(
INITRD_TARGET
)
\
$(
PRIMARY_ARCH_DIR
)$(
INITRD_TARGET
)
$(
SECONDARY_ARCH_DIR
)$(
INITRD_TARGET
)
\
$(
PRIMARY_ARCH_DIR
)$(
STATE_DIR
)
/iso_extracted
$(
SECONDARY_ARCH_DIR
)$(
STATE_DIR
)
/iso_extracted
\
$(
PRIMARY_ARCH_DIR
)$(
STATE_DIR
)
/iso_extracted
$(
SECONDARY_ARCH_DIR
)$(
STATE_DIR
)
/iso_extracted
\
$(
PRIMARY_ARCH_DIR
)
/filesystem.size
$(
PRIMARY_ARCH_DIR
)
/filesystem.size
\
$(
PRIMARY_ARCH_DIR
)
/gparted-live.iso
$(
SECONDARY_ARCH_DIR
)
/gparted-live.iso
image_binary_files $(IMAGE_DIR)/.lipbinaries
:
image_git_pull $(IMAGE_BINARIES)
image_binary_files $(IMAGE_DIR)/.lipbinaries
:
image_git_pull $(IMAGE_BINARIES)
$(
RSYNC
)
"
$(
PRIMARY_ARCH_DIR
)$(
ISO_CONTENT
)
/dists"
\
$(
RSYNC
)
"
$(
PRIMARY_ARCH_DIR
)$(
ISO_CONTENT
)
/dists"
\
"
$(
PRIMARY_ARCH_DIR
)$(
ISO_CONTENT
)
/isolinux"
\
"
$(
PRIMARY_ARCH_DIR
)$(
ISO_CONTENT
)
/isolinux"
\
...
@@ -348,6 +351,8 @@ image_binary_files $(IMAGE_DIR)/.lipbinaries: image_git_pull $(IMAGE_BINARIES)
...
@@ -348,6 +351,8 @@ image_binary_files $(IMAGE_DIR)/.lipbinaries: image_git_pull $(IMAGE_BINARIES)
"
$(
IMAGE_DIR
)
/casper/"
"
$(
IMAGE_DIR
)
/casper/"
$(
RSYNC
)
"
$(
PRIMARY_ARCH_DIR
)$(
INITRD_TARGET
)
"
"
$(
IMAGE_DIR
)
/casper/initrd-
$(
PRIMARY_ARCH
)
.lz"
$(
RSYNC
)
"
$(
PRIMARY_ARCH_DIR
)$(
INITRD_TARGET
)
"
"
$(
IMAGE_DIR
)
/casper/initrd-
$(
PRIMARY_ARCH
)
.lz"
$(
RSYNC
)
"
$(
SECONDARY_ARCH_DIR
)$(
INITRD_TARGET
)
"
"
$(
IMAGE_DIR
)
/casper/initrd-
$(
SECONDARY_ARCH
)
.lz"
$(
RSYNC
)
"
$(
SECONDARY_ARCH_DIR
)$(
INITRD_TARGET
)
"
"
$(
IMAGE_DIR
)
/casper/initrd-
$(
SECONDARY_ARCH
)
.lz"
$(
RSYNC
)
--progress
"
$(
PRIMARY_ARCH_DIR
)
/gparted-live.iso"
\
"
$(
SECONDARY_ARCH_DIR
)
/gparted-live.iso"
"
$(
IMAGE_DIR
)
/"
cd
"
$(
PRIMARY_ARCH_DIR
)$(
ROOTFS
)
"
&&
$(
RSYNC
)
-L
vmlinuz
"
$(
IMAGE_DIR
)
/casper/vmlinuz-
$(
PRIMARY_ARCH
)
"
cd
"
$(
PRIMARY_ARCH_DIR
)$(
ROOTFS
)
"
&&
$(
RSYNC
)
-L
vmlinuz
"
$(
IMAGE_DIR
)
/casper/vmlinuz-
$(
PRIMARY_ARCH
)
"
cd
"
$(
SECONDARY_ARCH_DIR
)$(
ROOTFS
)
"
&&
$(
RSYNC
)
-L
vmlinuz
"
$(
IMAGE_DIR
)
/casper/vmlinuz-
$(
SECONDARY_ARCH
)
"
cd
"
$(
SECONDARY_ARCH_DIR
)$(
ROOTFS
)
"
&&
$(
RSYNC
)
-L
vmlinuz
"
$(
IMAGE_DIR
)
/casper/vmlinuz-
$(
SECONDARY_ARCH
)
"
touch
"
$(
IMAGE_DIR
)
/.lipbinaries"
touch
"
$(
IMAGE_DIR
)
/.lipbinaries"
...
@@ -378,6 +383,10 @@ $(IMAGE_DIR)/grub/lipinfo.cfg : | $(WORKSPACE)
...
@@ -378,6 +383,10 @@ $(IMAGE_DIR)/grub/lipinfo.cfg : | $(WORKSPACE)
image
:
image_content
image
:
image_content
gparted
:
$(call archdir
,
$(PRIMARY_ARCH))/gparted-live.iso $(call archdir
,
$(SECONDARY_ARCH))/gparted-live.iso
$(call gentargets,/gparted-live.iso)
:
wget
-O
"
$@
"
"
$(
GPARTED_BASE_URL
)
/gparted-live-
$(
GPARTED_VERSION
)
-
$(
subst
$(
SECONDARY_ARCH
)
,i686-pae,
$(
subst
$(
PRIMARY_ARCH
)
,amd64,
$*
))
.iso"
repo_packages
:
$(REPO_ARCHIVE_DIR)/Packages.$(call altarch
,
$(ARCH))
repo_packages
:
$(REPO_ARCHIVE_DIR)/Packages.$(call altarch
,
$(ARCH))
$(REPO_ARCHIVE_DIR)/Packages.$(call altarch,$(PRIMARY_ARCH)) $(REPO_ARCHIVE_DIR)/Packages.$(call altarch,$(SECONDARY_ARCH))
:
$(REPO_ARCHIVE_DIR)/Packages.% : $(call archdir
,
$*)$(STATE_DIR)/rootfs_remastered | $(IMAGE_DIR)
$(REPO_ARCHIVE_DIR)/Packages.$(call altarch,$(PRIMARY_ARCH)) $(REPO_ARCHIVE_DIR)/Packages.$(call altarch,$(SECONDARY_ARCH))
:
$(REPO_ARCHIVE_DIR)/Packages.% : $(call archdir
,
$*)$(STATE_DIR)/rootfs_remastered | $(IMAGE_DIR)
$(
MAKE
)
ARCH
=
$(
call to_arch,
$*
)
rootfs_prepare
$(
MAKE
)
ARCH
=
$(
call to_arch,
$*
)
rootfs_prepare
...
...
This diff is collapsed.
Click to expand it.
config/Makefile.conf.defaults
+
2
−
0
View file @
b1352c73
...
@@ -31,3 +31,5 @@ IMAGE_DIR=$(WORKSPACE)/image_files/
...
@@ -31,3 +31,5 @@ IMAGE_DIR=$(WORKSPACE)/image_files/
IMAGE_GIT_URL
=
https://www.fsmpi.rwth-aachen.de/git/lipstick
IMAGE_GIT_URL
=
https://www.fsmpi.rwth-aachen.de/git/lipstick
IMAGE_GIT_BRANCH
=
ws14
IMAGE_GIT_BRANCH
=
ws14
IMAGE_EXTRA_INFO
=
IMAGE_EXTRA_INFO
=
GPARTED_VERSION
=
0.21.0-1
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment